You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments