diff options
author | Trevor Norris <trev.norris@gmail.com> | 2023-04-17 12:48:39 -0600 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2023-04-24 15:29:14 -0600 |
commit | e02642cf3b768b2c58a41f97fa38507e032ae415 (patch) | |
tree | 062fbe2a7947a8df917b51274d1e548da046501f /docs/src | |
parent | b60f08e782e50b7ee2bed2e655570f6a5780199c (diff) | |
download | libuv-e02642cf3b768b2c58a41f97fa38507e032ae415.tar.gz libuv-e02642cf3b768b2c58a41f97fa38507e032ae415.zip |
src: fix events/events_waiting metrics counter (#3957)
The worker pool calls all callbacks locally within the queue. So the
value of nevents doesn't properly reflect that case. Increase the number
of events directly from the worker pool's callback to correct this.
In order to properly determine if the events_waiting counter needs to be
incremented, store the timeout value at the time the event provider was
called.
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions