You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that flask-rq does not use context-locals to save the redis connection, which means that everytime one request comes in, we are having a new connection.
What I need here is one connection manager so I do not have to handle connections myself.
Any reasons? So flask-rq is just a config manager? I do not see anything else meaningful here.
The text was updated successfully, but these errors were encountered:
Indeed. This extension is not meaningful at all. I was about to submit a pull request that removes the custom connection behavior, but then realized that with that removed, there's virtually no code left.
@fengsp@malthe I agree with you that using an app context would make sense. I plan to get some work done on this the coming days/weeks. Out of curiosity: are you using flask-script?
I have noticed that flask-rq does not use context-locals to save the redis connection, which means that everytime one request comes in, we are having a new connection.
What I need here is one connection manager so I do not have to handle connections myself.
Any reasons? So flask-rq is just a config manager? I do not see anything else meaningful here.
The text was updated successfully, but these errors were encountered: