Browse Source

Set number of messages to handle at once to 100. 500 was too high and would often not finish before the next cron. I have it set to run every 10 mins on my implementation.

pull/2/head^2
mroy 14 years ago
parent
commit
2a8a1a78a4
  1. 2
      workflow_client/islandora_workflow_client.module

2
workflow_client/islandora_workflow_client.module

@ -269,7 +269,7 @@ function islandora_workflow_client_cron()
$queue='/queue/fedora.apim.update';
$con->subscribe($queue);
$messagesToSend=array();
for ($i=0;$i<500;$i++) {
for ($i=0;$i<100;$i++) {
$msg = $con->readFrame();
if ($msg != null) {

Loading…
Cancel
Save