r8798: Save one system call per SMB. smb_run_idle_events right now is only used to
authorVolker Lendecke <vlendec@samba.org>
Wed, 27 Jul 2005 16:10:50 +0000 (16:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:00:17 +0000 (11:00 -0500)
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

source/smbd/process.c

index 897bd56ba7bea4af8feb7ebfbc9a3d090c12d19b..19add7e0951424609eed36608249c5f81aa7140a 100644 (file)
@@ -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))