ad timer to update tool 60min max / 30min per Step
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user