Reduce default query response interval to 100ms
authorSteven Barth <steven@midlink.org>
Tue, 15 Sep 2015 07:50:53 +0000 (09:50 +0200)
committerSteven Barth <steven@midlink.org>
Tue, 15 Sep 2015 07:50:53 +0000 (09:50 +0200)
src/groups.c

index 17e2c67176099e40960ac66b09bccd356b287012..38fa914eafa11fef98eb3ec976dea024d30fe75a 100644 (file)
@@ -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);
 }