]> git.sur5r.net Git - openldap/commitdiff
ITS#8423 check for pause in accesslog_purge
authorHoward Chu <hyc@openldap.org>
Sat, 14 May 2016 23:50:37 +0000 (00:50 +0100)
committerHoward Chu <hyc@openldap.org>
Sat, 14 May 2016 23:51:14 +0000 (00:51 +0100)
servers/slapd/overlays/accesslog.c

index d8bb9e3303214731f915d8ddf361d979ed4e36c4..900bdcd46d307694960d40560e4140b7dc8395cb 100644 (file)
@@ -701,6 +701,7 @@ accesslog_purge( void *ctx, void *arg )
                        }
                        ch_free( pd.ndn[i].bv_val );
                        ch_free( pd.dn[i].bv_val );
+                       ldap_pvt_thread_pool_pausecheck( &connection_pool );
                }
                ch_free( pd.ndn );
                ch_free( pd.dn );