【发布时间】:2021-03-21 10:28:35
【问题描述】:
您知道在使用基于消耗付费的 Azure Functions 时避免 MySQL Server 消失的 peewee 错误的最佳做法是什么吗?可能有一个最佳实践来调用 db.connect() / db.close() 就像这里为其他框架描述的那样http://docs.peewee-orm.com/en/latest/peewee/database.html#framework-integration
错误时有发生,并且无法真正预测。
感谢您的帮助和问候
【问题讨论】: