flask-rabmq
flask-rabmq
> 你好!我有一个问题,有时我会遇到这样的错误,尽管通常这段代码可以正常工作: > > ``` > await db.execute("UPDATE inventory SET a = a - 1 WHERE id = %s AND peerid = %s", (id, peerid)) > RuntimeError: coroutine ignored GeneratorExit...
This does not happen if the minimum number of connections is equal to the maximum number of connections
I have the same problem again. I use monkey patch to fix this problem. ----------------------------------------------------------------------- ```python async def execute(self, query, *multiparams, **params): cursor = await self._connection.cursor() dp = _distill_params(multiparams, params)...
@paulefoe Look at this description. https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#change-4645.
I got the same error and I don‘t how to solve.