Commit 953c3052 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2

smartinfo: set to 500ms the default refresh time

Use a default value of 500ms for SmartTools refresh period.
This also fix the coverity issue CID # 1371961.

Change-Id: I45cb7162fa38ceeb52c73da46e815595ebbb8fa9
Tuleap: #909
Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
parent c3f08cb9
......@@ -43,7 +43,7 @@ class Smartools
void process();
std::map<std::string, std::string> information_;
std::mutex mutexInfo_; // Protect information_ from multithreading
std::chrono::milliseconds refreshTimeMs_;
std::chrono::milliseconds refreshTimeMs_ {500};
ThreadLoop loop_; // Has to be last member
};
} //ring namespace
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment