Skip to content

Commit

Permalink
fix config path to read elegant_wait_second
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Nov 16, 2021
1 parent a6307e0 commit 5ad28e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AdminRegistryServer/ExecuteTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ void ExecuteTask::checkTaskRspStatus(TaskRsp &taskRsp)

void ExecuteTask::init(TC_Config *conf)
{
_elegantWaitSecond = TC_Common::strto<unsigned int>(conf->get("/taf/application/server/<elegant_wait_second>", "75"));
_elegantWaitSecond = TC_Common::strto<unsigned int>(conf->get("/tars/application/server/<elegant_wait_second>", "75"));
if (_elegantWaitSecond < 2 || _elegantWaitSecond > 180)
{
_elegantWaitSecond = 75;
Expand Down
2 changes: 1 addition & 1 deletion tarscpp

0 comments on commit 5ad28e2

Please sign in to comment.