Skip to content

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

ross added 3 commits October 31, 2021 14:23
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.

2 participants