Skip to content

Increase wait timeout when loading the demo dataset #529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

pjhartzell
Copy link
Contributor

@pjhartzell pjhartzell commented Feb 16, 2023

Related Issue(s):
None

Description:
When running make docker-run-all (aka docker-compose up) on an Apple M1, I consistently run into timeout errors when loading the joplin demo data:

stac-fastapi-loadjoplin-pgstac-1      | wait-for-it.sh: timeout occurred after waiting 15 seconds for app-pgstac:8082

After overriding the default 15 second timeout to an unlimited wait time, I'm seeing max times of about 30 seconds. This PR sets a timeout of 60 seconds for loading the demo data.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

@pjhartzell pjhartzell requested a review from gadomski February 16, 2023 19:08
@gadomski gadomski merged commit 1ded5a5 into stac-utils:master Feb 16, 2023
@gadomski gadomski added this to the 2.4.4 milestone Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants