Open themgt opened 7 years ago
My situation is even worse. The hedwig bot disconnect/reconnect every 1 min.
Openfire 4.1.5
from Spark chat window:
*** JBOT went offline at 9:00 PM
*** JBOT is online at 9:00 PM
*** JBOT went offline at 9:01 PM
*** JBOT is online at 9:01 PM
*** JBOT went offline at 9:02 PM
*** JBOT is online at 9:02 PM
*** JBOT went offline at 9:03 PM
*** JBOT is online at 9:03 PM
I ported this code from https://github.com/jwarlander/hedwig_hipchat/blob/1f9213b8b19466da2b0741a616da3399a79af47b/lib/hedwig_hipchat.ex
not sure if it should be enabled for everyone, but was necessary in our case to avoid disconnect/reconnect every every 5 min (believe the server is openfire)