{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgene.hatenablog.com%2Fentry%2F20160108%2F1452263224\" title=\" SQLAlchemy \u304c\u30a8\u30e9\u30fc\u3092\u306f\u3044\u305f - Memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"heavenshell","image_url":null,"width":"100%","published":"2016-01-08 23:27:04","version":"1.0","blog_url":"https://gene.hatenablog.com/","url":"https://gene.hatenablog.com/entry/20160108/1452263224","categories":["Python"],"title":" SQLAlchemy \u304c\u30a8\u30e9\u30fc\u3092\u306f\u3044\u305f","description":"Python \u3067 Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u3063\u3066\u3044\u3066\u3001\u30ed\u30b0\u30a4\u30f3\u5f8c\u3057\u3070\u3089\u304f\u653e\u3063\u3066\u304a\u3044\u3066\u3001\u4ed6\u306e\u753b\u9762\u306b\u9077\u79fb\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002 sqlalchemy.exc.StatementError: (sqlalchemy.exc.InvalidRequestError) Can't reconn ect until invalid transaction is rolled back \u4eca\u307e\u3067 SQLAlchemy \u3092\u4f7f\u3063\u3066\u305f\u3051\u3069\u3001\u521d\u3081\u3066\u906d\u9047\u3057\u305f\u3002 \u306a\u3093\u3060\u308d\u3046\u3053\u308c\u3068\u601d\u3063\u3066\u8abf\u3079\u305f\u3089\u3001SQLAlchemy \u306e pool_recycle \u306e\u79d2\u6570\u304c MySQL \u306e wait_timeout \u306e\u79d2\u6570\u3088\u308a\u9577\u2026","author_url":"https://blog.hatena.ne.jp/heavenshell/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","height":"190","type":"rich","blog_title":"Memo"}