fix.修复Linux下的编译错误

This commit is contained in:
MistEO
2022-01-03 03:24:13 +08:00
parent f05f28f8f4
commit 277bb958ac
6 changed files with 22 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ namespace asst
void set_task_chain(std::string name) noexcept { m_task_chain = std::move(name); }
const std::string& get_task_chain() const noexcept { return m_task_chain; }
constexpr static int RetryTimesDefault = 20;
constexpr static int RetryTimesDefault = 50;
protected:
virtual bool _run() = 0;
virtual bool on_run_fails() { return true; }