aboutsummaryrefslogtreecommitdiffstats
path: root/warmachine/connections/base.py
diff options
context:
space:
mode:
authorjason2016-10-06 15:00:41 -0600
committerjason2016-10-06 15:00:41 -0600
commit04d0c39881dbdd6e9a53435a0ee9aa831716427c (patch)
tree89b132268d52164d9371973a207c42821bd1b137 /warmachine/connections/base.py
parent17206d877ce948c826fa06d88cfd553dec775126 (diff)
downloadwarmachine-ng-04d0c39881dbdd6e9a53435a0ee9aa831716427c.tar.gz
warmachine-ng-04d0c39881dbdd6e9a53435a0ee9aa831716427c.zip
Add support for Slack's RTM ping
- warmachine freezes and seems to disconnect sometimes. This adds a ping to slack every few seconds to help mitigate that undetected disconnection
Diffstat (limited to 'warmachine/connections/base.py')
-rw-r--r--warmachine/connections/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/warmachine/connections/base.py b/warmachine/connections/base.py
index 56ce108..8b81c14 100644
--- a/warmachine/connections/base.py
+++ b/warmachine/connections/base.py
@@ -1,5 +1,6 @@
1INITALIZED = 'Initalized' 1INITALIZED = 'Initalized'
2CONNECTED = 'Connected' 2CONNECTED = 'Connected'
3CONNECTING = 'Connecting'
3 4
4 5
5class Connection(object): 6class Connection(object):