Skip to content Skip to sidebar Skip to footer

Cx_oracle Sessionpool Root Of All Flask Problems

I created a web service in Flask over uwsgi. I thought I would follow good practice and create a SessionPool with 20 connections to be safe. Each call to a web service endpoint,

Solution 1:

When you create the pool, use threaded=True.

See How to use Python Flask with Oracle Database.

Post a Comment for "Cx_oracle Sessionpool Root Of All Flask Problems"