From: Timo Sirainen Date: Thu, 16 Jan 2020 13:03:28 +0000 (+0200) Subject: master: Update comment to service_process.total_count X-Git-Tag: 2.3.14.rc1~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a267b61a61accc0c6d3cfd2cfb0883e21ff7385;p=thirdparty%2Fdovecot%2Fcore.git master: Update comment to service_process.total_count It's not an exact value. Making it exact would require changing the IPC protocol to master, which isn't worth it just for this. --- diff --git a/src/master/service-process.h b/src/master/service-process.h index d35390a9ca..3d55a685c8 100644 --- a/src/master/service-process.h +++ b/src/master/service-process.h @@ -12,7 +12,11 @@ struct service_process { /* number of new connections process is currently accepting */ unsigned int available_count; - /* number of connections process has ever accepted */ + /* Approximate number of connections process has ever accepted. + This isn't exact, because its calculation is based on + available_count updates, which aren't done on every single + connection/disconnection. With a busy process it might be a lot + smaller than the correct value. */ unsigned int total_count; /* time when process started idling, or 0 if we're not idling */