mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
refactor: Remove watchdog command
This command adds some complexity as it allows to disable a worker from the outside. This is currently not required.
This commit is contained in:
@@ -299,10 +299,6 @@ namespace swift::misc
|
||||
//! \threadsafe
|
||||
bool isEnabled() const { return m_enabled; }
|
||||
|
||||
//! Enabled (running)?
|
||||
//! \threadsafe
|
||||
void setEnabled(bool enabled) { m_enabled = enabled; }
|
||||
|
||||
//! Start updating (start/stop timer)
|
||||
//! \threadsafe
|
||||
void startUpdating(int updateTimeSecs);
|
||||
@@ -336,6 +332,10 @@ namespace swift::misc
|
||||
//! Called after cleanup().
|
||||
void finish();
|
||||
|
||||
//! Enabled (running)?
|
||||
//! \threadsafe
|
||||
void setEnabled(bool enabled) { m_enabled = enabled; }
|
||||
|
||||
using CWorkerBase::setStarted;
|
||||
using CWorkerBase::setFinished;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user