Skip to content
Snippets Groups Projects
Commit 467598ff authored by Richard Alam's avatar Richard Alam
Browse files

- turn off keep alive message

parent 4aedea9f
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,6 @@ class KeepAliveRedisPublisher(val system: ActorSystem, sender: RedisPublisher) e
system.scheduler.schedule(2 seconds, 5 seconds) {
val msg = new BbbAppsIsAliveMessage(startedOn, System.currentTimeMillis())
sender.publish("bigbluebutton:from-bbb-apps:keepalive", msg.toJson())
// sender.publish("bigbluebutton:from-bbb-apps:keepalive", msg.toJson())
}
}
......@@ -24,7 +24,7 @@ class RedisPublisher(val system: ActorSystem) extends SystemConfiguration {
redis.publish("bigbluebutton:to-bbb-apps:system", json)
}
system.scheduler.schedule(10 seconds, 10 seconds)(sendPingMessage())
// system.scheduler.schedule(10 seconds, 10 seconds)(sendPingMessage())
def publish(channel: String, data: String) {
//println("PUBLISH TO [" + channel + "]: \n [" + data + "]")
......
......@@ -43,7 +43,7 @@ public class BbbAppsIsAliveMonitorService {
}
public void start() {
scheduledThreadPool.scheduleWithFixedDelay(task, 5000, 10000, TimeUnit.MILLISECONDS);
// scheduledThreadPool.scheduleWithFixedDelay(task, 5000, 10000, TimeUnit.MILLISECONDS);
processKeepAliveMessage();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment