MagicStack / MagicStack/asyncpg
notified on shutdown
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 8.1k
- 派生
- 468
- PR 合并指标
- 30 天内没有已合并 PR
描述
This is not a bug report. I have a question.
How can my app get notified when postgres goes offline or crashes ?
Is there any such functionality? From what I can understand so far, I can have some callbacks when connections are opened and acquired (init and setup) but I cannot know when postgres goes offline.
Thank you
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 asyncpg 的连接生命周期回调,以及 issue 中描述的 PostgreSQL 离线或崩溃行为。一个有用的结果可以是确定通知方案,或明确记录一项限制,但其中没有指定实现入口或测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- postgresql, python
- 领域
- databases
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 15/100