diff options
| author | jason | 2016-10-06 15:00:41 -0600 |
|---|---|---|
| committer | jason | 2016-10-06 15:00:41 -0600 |
| commit | 04d0c39881dbdd6e9a53435a0ee9aa831716427c (patch) | |
| tree | 89b132268d52164d9371973a207c42821bd1b137 /warmachine/connections/base.py | |
| parent | 17206d877ce948c826fa06d88cfd553dec775126 (diff) | |
| download | warmachine-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.py | 1 |
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 @@ | |||
| 1 | INITALIZED = 'Initalized' | 1 | INITALIZED = 'Initalized' |
| 2 | CONNECTED = 'Connected' | 2 | CONNECTED = 'Connected' |
| 3 | CONNECTING = 'Connecting' | ||
| 3 | 4 | ||
| 4 | 5 | ||
| 5 | class Connection(object): | 6 | class Connection(object): |