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:
Lars Toenning
2025-06-09 20:16:38 +02:00
parent 43d66b0cd7
commit 56d00d7d77
4 changed files with 7 additions and 30 deletions

View File

@@ -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;