Skip to content

fix: configurable upstream timeout.#174

Merged
alukach merged 1 commit into
mainfrom
fix/upstream-timeout
Jun 16, 2026
Merged

fix: configurable upstream timeout.#174
alukach merged 1 commit into
mainfrom
fix/upstream-timeout

Conversation

@pantierra

Copy link
Copy Markdown
Contributor

stac-auth-proxy has a hardcoded 15-second httpx timeout on upstream requests. This may cause 500 errors when a database takes longer to respond. But this can be desired. So this PR allows to make this timeout configurable.

@pantierra pantierra requested a review from alukach June 16, 2026 07:06
@pantierra pantierra self-assigned this Jun 16, 2026
@github-actions github-actions Bot added the fix label Jun 16, 2026

@alukach alukach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It pains me to support operations that take longer than 15 seconds, but so be it... 😅

@alukach alukach merged commit 533bac6 into main Jun 16, 2026
6 checks passed
@alukach alukach deleted the fix/upstream-timeout branch June 16, 2026 17:29
@pantierra

Copy link
Copy Markdown
Contributor Author

Hey, you can see it from the other side: it allows to configure it to shorter timeouts as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants