aboutsummaryrefslogtreecommitdiffstats
path: root/configd
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-03-10 12:10:50 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-03-10 12:10:50 +0000
commitd9d006664e8186e20b6f03c1470a3c23774eaa2d (patch)
treebc85fccc1cfec12b6e9e026a0ab183fc7c74db04 /configd
parent2e12bd8e014a221113ffad623ab0e29f7c5a5c2d (diff)
Increase rpc handling frequency from 1hz to 10hz
Diffstat (limited to 'configd')
-rw-r--r--configd/src/apps/sentinel/sentinel.cpp4
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);