File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/loaders/node_loader/source Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5016,7 +5016,7 @@ int64_t node_loader_impl_async_closing_handles_count(loader_impl_node node_impl)
50165016int64_t node_loader_impl_async_handles_count (loader_impl_node node_impl)
50175017{
50185018 int64_t active_handles = (int64_t )node_impl->thread_loop ->active_handles +
5019- (int64_t )node_impl->thread_loop ->active_reqs .count +
5019+ (int64_t )( node_impl->thread_loop ->active_reqs .count > 0 ) +
50205020 node_loader_impl_async_closing_handles_count (node_impl);
50215021
50225022 return active_handles;
@@ -5031,7 +5031,7 @@ int64_t node_loader_impl_user_async_handles_count(loader_impl_node node_impl)
50315031 int64_t closing = node_loader_impl_async_closing_handles_count (node_impl);
50325032
50335033 printf (" [active_handles] - [base_active_handles] - [extra_active_handles] + [active_reqs] + [closing]\n " );
5034- printf (" %" PRId64 " - %" PRId64 " - %" PRId64 " + %" PRId64 " + %" PRId64 " \n " ,
5034+ printf (" %" PRId64 " - %" PRId64 " - %" PRId64 " + %" PRId64 " [> 0] + %" PRId64 " \n " ,
50355035 (int64_t )node_impl->thread_loop ->active_handles ,
50365036 node_impl->base_active_handles ,
50375037 extra_active_handles,
You can’t perform that action at this time.
0 commit comments