fix missing re-connect if first request timed out (#9955)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
parent
27b8de419a
commit
781a824b79
@ -236,7 +236,10 @@ public class DeconzBridgeHandler extends BaseBridgeHandler implements WebSocketC
|
||||
} else {
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.NONE);
|
||||
}
|
||||
logger.warn("Initial full state parsing failed", e);
|
||||
logger.warn("Initial full state request or result parsing failed", e);
|
||||
if (!thingDisposing) {
|
||||
scheduledFuture = scheduler.schedule(this::initializeBridgeState, POLL_FREQUENCY_SEC, TimeUnit.SECONDS);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user