Comments (6)
嗯嗯,pypi有了,阿里的还没同步过去
from nonebot-plugin-datastore.
你用的是什么 driver 呢?我记得除了 sqlite 其他都是默认启用连接池的。也许你需要设置的是 pool_recycle。你可以直接修改源代码试试。
不过确实需要加一个设置传递参数给 create_engine。
from nonebot-plugin-datastore.
对了,推荐文档 https://docs.sqlalchemy.org/en/20/core/pooling.html#dealing-with-disconnects。
from nonebot-plugin-datastore.
新版发布了,试试?
from nonebot-plugin-datastore.
嗯嗯,我改了源码,加了参数pool_recycle就可以了,目前pip里面还没有0.5.10版本
from nonebot-plugin-datastore.
https://pypi.org/project/nonebot-plugin-datastore/0.5.10/
已经有了,可能是你镜像的问题。
from nonebot-plugin-datastore.
Related Issues (6)
- Bug: 加载时提示无法找到 _greenlet HOT 2
- Feature: 支持插件间的依赖 HOT 1
- 无法读取环境变量配置的问题 HOT 2
- nb新版本方法更新导致插件导入失败 HOT 1
- [提议] 使用toml作为config存储格式 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nonebot-plugin-datastore.