aio-libs / aio-libs/aiomysql

Modify the password for a connection pool

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

説明

RDS authentication tokens expire. These tokens are passed to a connection pool via the password field. When a token expires, the connection pool becomes permanently unable to create new database connections. Thus the pool must be discarded and a new pool created which is a huge hassle because -- if you want your application to exit gracefully -- connection pools must be closed explicitly during shut-down.

This is no different from the case where a database user's password has been changed. However, while this is a rare occurrence, auth tokens are meant to expire.

Would it be possible to modify the password used by a connection pool? Or is this already possible?

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

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

評価

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

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

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