X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fipc.c;h=1dabf5e192652ae5796acf71dd001c9027ecad54;hb=fa57c9e50d49f3b51dcd9a5f7ec8798153af5992;hp=e4403e04304860468855aa99a83a0c53809c762f;hpb=6c9f0d2d75ee95bcaa74eed9fd9192eb24de7120;p=netdata.git diff --git a/src/ipc.c b/src/ipc.c index e4403e04..1dabf5e1 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -194,7 +194,7 @@ int do_ipc(int update_every, usec_t dt) { semaphores = rrdset_find_localhost("system.ipc_semaphores"); if(!semaphores) { semaphores = rrdset_create_localhost("system", "ipc_semaphores", NULL, "ipc semaphores", NULL - , "IPC Semaphores", "semaphores", 1000, rrd_update_every + , "IPC Semaphores", "semaphores", 1000, localhost->rrd_update_every , RRDSET_TYPE_AREA); rrddim_add(semaphores, "semaphores", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE); } @@ -202,7 +202,7 @@ int do_ipc(int update_every, usec_t dt) { arrays = rrdset_find_localhost("system.ipc_semaphore_arrays"); if(!arrays) { arrays = rrdset_create_localhost("system", "ipc_semaphore_arrays", NULL, "ipc semaphores", NULL - , "IPC Semaphore Arrays", "arrays", 1000, rrd_update_every + , "IPC Semaphore Arrays", "arrays", 1000, localhost->rrd_update_every , RRDSET_TYPE_AREA); rrddim_add(arrays, "arrays", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE); }