From: Steven Barth Date: Tue, 15 Sep 2015 07:50:53 +0000 (+0200) Subject: Reduce default query response interval to 100ms X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8de9fa84e018e152e45c342f10b5b5140b63e4b1;p=project%2Fomcproxy.git Reduce default query response interval to 100ms --- diff --git a/src/groups.c b/src/groups.c index 17e2c67..38fa914 100644 --- a/src/groups.c +++ b/src/groups.c @@ -183,9 +183,9 @@ void groups_init(struct groups *groups) avl_init(&groups->groups, compare_groups, false, NULL); groups->timer.cb = expire_groups; - groups_update_config(groups, false, 10 * OMGP_TIME_PER_SECOND, + groups_update_config(groups, false, OMGP_TIME_PER_SECOND / 10, 125 * OMGP_TIME_PER_SECOND, 2); - groups_update_config(groups, true, 10 * OMGP_TIME_PER_SECOND, + groups_update_config(groups, true, OMGP_TIME_PER_SECOND / 10, 125 * OMGP_TIME_PER_SECOND, 2); }