in src/main/java/com/revo/deployr/client/broker/engine/PooledTaskBroker.java [297:333]
public void run() {
try {
while (taskBrokerIsActive.get()) {
try {
if (rUser != null) {
/*
* No-Op Ping Authenticated HTTP Session.
*
* Note, this can throw an exception if
* the client has lost it's to server-side
* HTTP session on which rUser was auth'd.
*/
rUser.autosaveProjects(false);
}
} catch (Exception ex) {
System.out.println("PooledTaskBroker: " +
"HTTPKeepAliveManager ex=" + ex);
}
try {
Thread.currentThread().sleep(PING_INTERVAL);
} catch (InterruptedException iex) {
}
}
} catch (Exception rex) {
System.out.println("PooledTaskBroker: " +
"HTTPKeepAliveManager rex=" + rex);
}
}