[Legacy] Clamav/SOSDG For Win32
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

idletimeout.patch 472B

123456789101112
  1. --- clamd/server-th.c.orig 2005-01-28 15:57:49.848384200 -0800
  2. +++ clamd/server-th.c 2005-01-28 15:58:37.828811900 -0800
  3. @@ -557,7 +557,7 @@
  4. */
  5. thrmgr_destroy(thr_pool);
  6. root = reload_db(root, copt, FALSE);
  7. - if((thr_pool=thrmgr_new(max_threads, 30, scanner_thread)) == NULL) {
  8. + if((thr_pool=thrmgr_new(max_threads, idletimeout, scanner_thread)) == NULL) {
  9. logg("!thrmgr_new failed\n");
  10. pthread_mutex_unlock(&reload_mutex);
  11. exit(-1);