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

Add a small timeout to slack requests #5

Open
kanav99 opened this issue Oct 26, 2019 · 0 comments
Open

Add a small timeout to slack requests #5

kanav99 opened this issue Oct 26, 2019 · 0 comments
Labels

Comments

@kanav99
Copy link
Member

kanav99 commented Oct 26, 2019

Steps to solve the issue:

  1. Change the default timeout to something smaller like 10 seconds
  2. Make the timeout time configurable in config.toml
  3. Run the slack requests in a different thread
  4. Maintain a queue of timed out requests so the requests can be be made once internet is back
@kanav99 kanav99 added the gci label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant