mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Change how input/logging threads set their name.
Setting the thread name on every heartbeat uses a mild amount of cycles and there's not much benefit to doing it there to get the additional info regarding the number of processed messages since thread names usually get truncated to 16 characters and omit that part anyway.
This commit is contained in:
parent
cb4eaf762c
commit
c9b40f1ca7
4 changed files with 4 additions and 10 deletions
|
@ -199,7 +199,7 @@ protected:
|
|||
|
||||
/** Internal heartbeat processing. Called from child.
|
||||
*/
|
||||
void HeartbeatInChild();
|
||||
void HeartbeatInChild() {}
|
||||
|
||||
/** Returns true if a child command has reported a failure. In that case, we'll
|
||||
* be in the process of killing this thread and no further activity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue