Configure worker threads for consistency checks in work-queue.xml
About this task
PolicyCenter uses the work queue mechanism to run consistency checks.
Procedure
-
In the Guidewire Studio Project window, expand :
- Open file work-queue.xml for editing.
-
Locate the block of code that contains the following
workQueueClassvalue.com.guidewire.pl.system.database.checker.DBConsistencyCheckWorkQueue
-
Locate the
<worker>element for this code block. -
Set the
instancesandbatchsizeattributes as appropriate for your PolicyCenter installation.For example, the following code sets the consistency check work queue to use five worker threads, with each worker checking out ten work items at a time.<worker instances="5" batchsize="10"/>
-
Restart the application server for your changes to take effect:
- If working in a development environment, restart the QuickStart server.
- If working in a production environment, create a new WAR or EAR file and deploy the file to the production server.
