Skip to content

New Release v2.0.2 - #patch#597

Merged
adk-swisstopo merged 2 commits into
masterfrom
develop
Jul 9, 2025
Merged

New Release v2.0.2 - #patch#597
adk-swisstopo merged 2 commits into
masterfrom
develop

Conversation

@adk-swisstopo

Copy link
Copy Markdown
Member

No description provided.

Before this change we were using psycopg 2.9.10. This does not seem to be
designed to [work correctly with gevent](https://www.psycopg.org/docs/advanced.html#support-for-coroutine-libraries) "out of the box".
The [psycogreen](https://github.com/psycopg/psycogreen/) library was written to
resolve that problem but we don't seem to be using it at all.

Upgrading to [psycopg 3 allows proper integration with gevent](https://www.psycopg.org/psycopg3/docs/advanced/async.html#gevent-support) without psycogreen or other workaround.

This change upgrades service-stac from psycopg 2.9.10 to 3.2.9. This was done by
updating the Pipfile then running `pipenv install`. This also updated other
dependencies.

In local tests, I verified the `/checker` endpoint remains much more responsive
with this change when end-to-end tests are being run. Maximum measured latency
dropped from ~15 seconds to ~3 seconds.
@github-actions github-actions Bot changed the title #patch New Release v2.0.2 - #patch Jul 9, 2025
@adk-swisstopo adk-swisstopo requested review from boecklic and msom July 9, 2025 13:32
@adk-swisstopo adk-swisstopo merged commit 56821fe into master Jul 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants