diff options
author | Ryan Huber <rhuber@gmail.com> | 2016-09-22 16:05:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-22 16:05:35 -0700 |
commit | 33e9299b1ce49ffeea1716dbad22f9af213cf6a0 (patch) | |
tree | c98ec1638c6912d33bb16857d792304239617c65 | |
parent | cf84edf1d22087db4f33b1445961f2e9439a26a7 (diff) | |
download | wee-slack-33e9299b1ce49ffeea1716dbad22f9af213cf6a0.tar.gz |
Wait 30 seconds not 3, because we get rate limited and never reconnect.
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 5cc841c..c53bab8 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2308,7 +2308,7 @@ if __name__ == "__main__": users = SearchList() w.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_changed_cb", "") - w.hook_timer(3000, 0, 0, "slack_connection_persistence_cb", "") + w.hook_timer(30000, 0, 0, "slack_connection_persistence_cb", "") # attach to the weechat hooks we need w.hook_timer(1000, 0, 0, "typing_update_cb", "") |