浏览代码

Ticket 48158 - Remove cleanAllRUV task limit of 4

Bug Description:  There is a limit of 4 concurrent tasks, and this is too
                  low of a limit.

Fix Description:  There still needs to be a limit because each task creates
                  a new thread.  Setting limit to 64.

https://fedorahosted.org/389/ticket/48158

Reviewed by: rmeggins(Thanks!)
Mark Reynolds 10 年之前
父节点
当前提交
cd8614a758
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldap/servers/plugins/replication/repl5.h

+ 1 - 1
ldap/servers/plugins/replication/repl5.h

@@ -700,7 +700,7 @@ void set_cleaned_rid(ReplicaId rid);
 void cleanruv_log(Slapi_Task *task, int rid, char *task_type, char *fmt, ...);
 void cleanruv_log(Slapi_Task *task, int rid, char *task_type, char *fmt, ...);
 char * replica_cleanallruv_get_local_maxcsn(ReplicaId rid, char *base_dn);
 char * replica_cleanallruv_get_local_maxcsn(ReplicaId rid, char *base_dn);
 
 
-#define CLEANRIDSIZ 4 /* maximum number for concurrent CLEANALLRUV tasks */
+#define CLEANRIDSIZ 64 /* maximum number for concurrent CLEANALLRUV tasks */
 
 
 typedef struct _cleanruv_data
 typedef struct _cleanruv_data
 {
 {