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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMPROVE: Only spawn bot in webserver process #11

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

merefield
Copy link
Member

@merefield merefield commented Sep 5, 2023

  • Checks if "running in rack" ie an active web process before spawning bot thread.
  • This will prevent bot being spawned too often, e.g. in a migration or console process.

thanks to @o7n for this suggestion 馃檹

@merefield merefield merged commit 96046b3 into master Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant