Skip to content
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

Db stuffs #34

Merged
merged 8 commits into from
Nov 4, 2021
Merged

Db stuffs #34

merged 8 commits into from
Nov 4, 2021

Conversation

ross
Copy link
Owner

@ross ross commented Nov 1, 2021

Support mysql db in dev when env vars are defined

Rework cron validation to avoid chicken-n-egg during bootstraping

Provide executor to slack_bolt app, don't re-submit

After some digging into the slack_bolt code it became evident that it's already submitting everything into a ThreadPoolExecutor so we don't need to do that ourselves. This reworks things to provide a custom executor with our names and size rather than let it create its own. It also adapts cron to handle the change. Much cleaner

After some digging into the slack_bolt code it became evident that it's
already submitting everything into a ThreadPoolExecutor so we don't need
to do that ourselves. This reworks things to provide a custom executor
with our names and size rather than let it create its own. It also
adapts cron to handle the change. Much cleaner
@ross ross self-assigned this Nov 1, 2021
@ross
Copy link
Owner Author

ross commented Nov 4, 2021

/cc slackapi/bolt-python#509, slackapi/bolt-python#512, and slackapi/bolt-python#514 which bumps to an update of slack_bolt that uses the in-built close_old_connections to get the correct db connection management/closing behavior.

@ross ross merged commit 05ebdfe into main Nov 4, 2021
@ross ross deleted the db-stuffs branch November 4, 2021 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant