Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Add KEYBASE_TIMEOUT configuration parameter to configure a custom timeout for interacting with the bot - #92

Merged
mmou merged 5 commits into
masterfrom
ddworken/increase-kb-chat-timeout
Apr 23, 2020
Merged

mmou merged 5 commits into
masterfrom
ddworken/increase-kb-chat-timeout

Conversation

@ddworken

@ddworken ddworken commented Apr 20, 2020 •

Copy link
Copy Markdown
Contributor

Some users (#91) were having difficulties with timeouts if running the CA bot on a slow computer with a high latency internet connection. In order to fix this, add a new configuration parameter that can be used to change the timeout. In order to do so, also had to update out dependencies to pull in the latest KB chat library (keybase/go-keybase-chat-bot#67).

The library also changed the arg order to a function, so swapped that in our code to make everything continue to work.

This changes the timeouts for KB chat and for the Keybase service, so it should also fix #90

@ddworken

Copy link
Copy Markdown
Contributor Author

@blaggacao can you give this a try and see whether tweaking the KEYBASE_TIMEOUT config will fix your issue? I tried running the bot on my own ARM server and wasn't able to reproduce your timeout issues, but I think this should help.

@mmou
mmou self-requested a review April 23, 2020 19:25
ddworken and others added 5 commits April 23, 2020 12:52
…keybase timeouts

In order to configure the timeouts for #91, we need to pull in the latest KB chat library
which was updated here: keybase/go-keybase-chat-bot#67

The library also changed the arg order to a function, so swapped that in our code to make
everything continue to work.
@mmou
mmou force-pushed the ddworken/increase-kb-chat-timeout branch from 510ac96 to 1bf98bb Compare April 23, 2020 20:14
@mmou

mmou commented Apr 23, 2020 •

Copy link
Copy Markdown
Contributor

thanks for your work on this @ddworken! a heads up - aiming to get this in in the next hour just so it's easier for me to start on another PR that includes this PR's keybase version bump.

@ddworken

Copy link
Copy Markdown
Contributor Author

Sounds good! Thanks for the heads up 👍

@mmou
mmou merged commit 8ea43a4 into master Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

timeout issues

2 participants