ad timer to update tool 60min max / 30min per Step

This commit is contained in:
2026-10-08 12:53:32 +02:00
parent 6bc3345ee8
commit ccb0bc4217
4 changed files with 107 additions and 12 deletions
+4 -2
View File
@@ -22,9 +22,11 @@ class Command : public QObject {
QProcess *m_p;
Worker *m_worker;
public:
static constexpr int COMMAND_START_TIMEOUT_MS = 30 * 1000;
static constexpr int COMMAND_FINISH_TIMEOUT_MS = 30 * 60 * 1000;
explicit Command(QString const &command,
int start_timeout = 100000,
int finish_timeout = 100000);
int start_timeout = COMMAND_START_TIMEOUT_MS,
int finish_timeout = COMMAND_FINISH_TIMEOUT_MS);
QString getCommandResult(bool reset = false) const;
QString command() const { return m_command; }