Skip to content

Commit

Permalink
Revert "Do not start RPC server too often. (openhab#2595)" (openhab#2597
Browse files Browse the repository at this point in the history
)

This reverts commit c93a11e.
  • Loading branch information
martinvw authored Aug 24, 2017
1 parent c93a11e commit bf44d3a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -824,10 +824,6 @@ public void run() {
if (timeSinceLastEvent >= config.getAliveInterval()) {
logger.info("No event since {} seconds from gateway '{}', restarting RPC server", timeSinceLastEvent,
id);

// set lastEventTime so that the alive interval starts again
lastEventTime = System.currentTimeMillis();

try {
stopServers();
startServers();
Expand Down

0 comments on commit bf44d3a

Please sign in to comment.