From 880d62843afd52c2e4bdf66e9e8218823445e109 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 27 Jul 2005 16:10:50 +0000 Subject: r8798: Save one system call per SMB. smb_run_idle_events right now is only used to close idle pdb_ldap connections, and from my point of view this can wait until normal timeout handling, this does not need to be done per client request. Volker (This used to be commit 404b817d7294fbea64f0fca019406c5c7458e386) --- source3/smbd/process.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 897bd56ba7..19add7e095 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1633,10 +1633,6 @@ void smbd_process(void) lp_talloc_free(); main_loop_talloc_free(); - /* run all registered idle events */ - smb_run_idle_events(time(NULL)); - - /* Did someone ask for immediate checks on things like blocking locks ? */ if (select_timeout == 0) { if(!timeout_processing( deadtime, &select_timeout, &last_timeout_processing_time)) -- cgit