Skip to content
Snippets Groups Projects
Commit 953c3052 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment