From c5de1cbb2fcee049db98f2e86b51ac2927ad8815 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dani=C3=A8le=20Vanbaelinghem?= <daniele@nexedi.com>
Date: Mon, 1 Mar 2010 10:48:53 +0000
Subject: [PATCH] Add a additional_priority during the reindex all of catalog
 called by the hot-reindexing

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33172 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ZSQLCatalog/ZSQLCatalog.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ZSQLCatalog/ZSQLCatalog.py b/product/ZSQLCatalog/ZSQLCatalog.py
index 3c80da437a..3ecb241789 100644
--- a/product/ZSQLCatalog/ZSQLCatalog.py
+++ b/product/ZSQLCatalog/ZSQLCatalog.py
@@ -516,6 +516,7 @@ class ZCatalog(Folder, Persistent, Implicit):
     self.ERP5Site_reindexAll(sql_catalog_id=destination_sql_catalog_id,
                              final_activity_tag=final_activity_tag,
                              clear_catalog=1,
+                             additional_priority=1,
                              passive_commit=1)
     # Once reindexing is finished, change the hot reindexing state so that
     # new catalog changes are applied in both catalogs.
-- 
2.30.9