Browse Source

Merge pull request #1242 from trapexit/debug-removal

Remove unneeded debug logging from thread pool
pull/1244/head
trapexit 1 year ago
committed by GitHub
parent
commit
b1dcc94e98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      libfuse/lib/thread_pool.hpp
  2. 1
      src/thread_pool.hpp

1
libfuse/lib/thread_pool.hpp

@ -218,7 +218,6 @@ public:
diff = ((int)count_ - (int)_threads.size()); diff = ((int)count_ - (int)_threads.size());
} }
syslog_debug("diff: %d",diff);
for(auto i = diff; i > 0; --i) for(auto i = diff; i > 0; --i)
add_thread(); add_thread();
for(auto i = diff; i < 0; ++i) for(auto i = diff; i < 0; ++i)

1
src/thread_pool.hpp

@ -218,7 +218,6 @@ public:
diff = ((int)count_ - (int)_threads.size()); diff = ((int)count_ - (int)_threads.size());
} }
syslog_debug("diff: %d",diff);
for(auto i = diff; i > 0; --i) for(auto i = diff; i > 0; --i)
add_thread(); add_thread();
for(auto i = diff; i < 0; ++i) for(auto i = diff; i < 0; ++i)

Loading…
Cancel
Save