Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Siepel <[email protected]>
  • Loading branch information
lsiepel committed Nov 26, 2024
1 parent 9195772 commit 8368069
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ private synchronized void connect() {
sendCommand(new LIPCommand(TargetType.BRIDGE, LutronOperation.QUERY, LutronCommandType.SYSTEM, null,
SYSTEM_DBEXPORTDATETIME));

messageSender = new Thread(this::sendCommandsThread, "OH-binding-" + getBridgeUID() + "-IPBridgeSender");
messageSender = new Thread(this::sendCommandsThread,
"OH-binding-" + getBridge().getBridgeUID() + "-IPBridgeSender");
messageSender.start();

logger.debug("Starting keepAlive job with interval {}", heartbeatInterval);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,14 @@ private synchronized void connect() {

updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.NONE, STATUS_INITIALIZING);

Thread readerThread = new Thread(this::readerThreadJob, "OH-binding-" + getBridgeUID() + "-BridgeReader");
Thread readerThread = new Thread(this::readerThreadJob,
"OH-binding-" + getBridge().getBridgeUID() + "-BridgeReader");
readerThread.setDaemon(true);
readerThread.start();
this.readerThread = readerThread;

Thread senderThread = new Thread(this::senderThreadJob, "OH-binding-" + getBridgeUID() + "-BridgeSender");
Thread senderThread = new Thread(this::senderThreadJob,
"OH-binding-" + getBridge().getBridgeUID() + "-BridgeSender");
senderThread.setDaemon(true);
senderThread.start();
this.senderThread = senderThread;
Expand Down

0 comments on commit 8368069

Please sign in to comment.