Skip to content

Commit

Permalink
Review changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgates108 committed Apr 15, 2024
1 parent 599000a commit 7a4e5d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/czar/CzarRegistry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ namespace lsst::qserv::czar {
CzarRegistry::CzarRegistry(std::shared_ptr<cconfig::CzarConfig> const& czarConfig) : _czarConfig(czarConfig) {
// Begin periodically updating worker's status in the Replication System's registry
// in the detached thread. This will continue before the application gets terminated.
thread _registryUpdateThread(&CzarRegistry::_registryUpdateLoop, this);
_czarHeartbeatThrd = move(_registryUpdateThread);
thread registryUpdateThread(&CzarRegistry::_registryUpdateLoop, this);
_czarHeartbeatThrd = move(registryUpdateThread);

thread _registryWorkerUpdateThread(&CzarRegistry::_registryWorkerInfoLoop, this);
_czarWorkerInfoThrd = move(_registryWorkerUpdateThread);
thread registryWorkerUpdateThread(&CzarRegistry::_registryWorkerInfoLoop, this);
_czarWorkerInfoThrd = move(registryWorkerUpdateThread);
}

CzarRegistry::~CzarRegistry() {
Expand Down

0 comments on commit 7a4e5d0

Please sign in to comment.