summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 98ec6ce184..8018d5f6f6 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1314,17 +1314,5 @@ void smbd_process(void)
last_timeout_processing_time = new_check_time; /* Reset time. */
}
}
-
- /* The timeout_processing function isn't run nearly
- often enough to implement 'max log size' without
- overrunning the size of the file by many megabytes.
- This is especially true if we are running at debug
- level 10. Checking every 50 SMBs is a nice
- tradeoff of performance vs log file size overrun. */
-
- if ((num_smbs % 50) == 0 && need_to_check_log_size()) {
- change_to_root_user();
- check_log_size();
- }
}
}