diff options
-rw-r--r-- | configd/src/apps/sentinel/sentinel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configd/src/apps/sentinel/sentinel.cpp b/configd/src/apps/sentinel/sentinel.cpp index 329173d6f8c..b24e65cd1d9 100644 --- a/configd/src/apps/sentinel/sentinel.cpp +++ b/configd/src/apps/sentinel/sentinel.cpp @@ -106,8 +106,8 @@ main(int argc, char **argv) handler.updateActiveFdset(&fds, &maxNum); struct timeval tv; - tv.tv_sec = 1; - tv.tv_usec = 0; + tv.tv_sec = 0; + tv.tv_usec = 100000; //0.1s select(maxNum, &fds, nullptr, nullptr, &tv); |