cockroachdb / cockroachdb/sqlalchemy-cockroachdb

run_transaction session leak

オープン
#52 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
156
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

We just switched over from using db.sessions.commit() to using run_transaction as per the diff:
https://github.com/cockroachdb/examples-python/commit/4fecdf17d1def80b349bd84e58ec042f997fcdcf

After making this change in our test environment after a little bit the api continues to get slower and eventually become completely bound up.

The following error eventually prints out: sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 20 reached

If there some type of clean up that needs to occur? Or is this a sign of something else?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。