-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kirkman central db #6
base: master
Are you sure you want to change the base?
Conversation
A thought: If we're trying to restrict |
@Hodapp87 is that something that currently happens? I have no issue with moving the DB connection a to a higher level, I just want to better understand what we currently have? Could we have to connections, one for business logic or queued tasks, and one for api endpoints? I'm totally green to this, or even if that is a real question, only exploring options. |
It happens in the Perl in (I think) things like queue_runner.pl, and the logic for that may need to hang around. Flask is very request-oriented and likes to occupy the entire event loop, so it's plenty conceivable that for any sort of background task, we'd need a separate entry point distinct from |
I just committed (as seen above) the code that I wrote last night. I pulled the DB connection out of It pulls it's on config (inside of Not sure if we want to duplicate credentials, but that's how is now. Happy to move it anywhere we deem necessary. |
@Hodapp87 Thoughts now that I've moved the DB connection outside of |
Drew is a maniac.