hostinfo: up the sample rate

Now that our CPU sampling has a bit less overhead, we can up the sampling
rate a bit without too much affect on performance.
This commit is contained in:
Christian Hergert
2018-06-16 20:07:38 -07:00
parent 9665cebbdc
commit c9c86ff37a

View File

@ -291,7 +291,8 @@ sp_hostinfo_source_start (SpSource *source)
g_assert (SP_IS_HOSTINFO_SOURCE (self));
self->handler = g_timeout_add (250, collect_hostinfo_cb, self);
/* 20 samples per second */
self->handler = g_timeout_add (1000/20, collect_hostinfo_cb, self);
}
static void