[Dart] Change server "batch processing" frequency?
Blezek, Daniel J (GE, Research)
blezek at crd.ge.com
Mon Mar 27 08:48:12 EST 2006
Matt,
Glad you figured this one out. We've had numerous requests for faster processing times (usually when people first start using Dart). I think I'll change the processing to every 30 seconds (for the next release). No harm in doing this, as the scheduler won't queue the next job until the current one is finished.
-dan
-----Original Message-----
From: dart-bounces+blezek=crd.ge.com at public.kitware.com
[mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com]On Behalf Of
Matt England
Sent: Saturday, March 25, 2006 12:11 AM
To: Matthew England
Cc: dart at public.kitware.com
Subject: Re: [Dart] Change server "batch processing" frequency?
Actually, the real answer is (after a bit of self education):
At 3/24/2006 10:32 PM, Matt England wrote:
>At 3/24/2006 10:26 PM, Matt England wrote:
>>Is there I way that I can change the frequency of this batch processing
>>to run more often?
From http://svn.na-mic.org:8000/svn/Dart/trunk/Dart.pdf rev 316 p23:
We changed the line below:
<Schedule>0 0/10 * * * ?</Schedule>
to
<Schedule>*/5 * * * * ?</Schedule>
to run every 5 seconds. That's much better. :)
Bigger document excerpt below.
-Matt
"5.3.8 Task Configuration
<!-- Scheduled tasks. The Schedule tag is in cron format. -->
<Task>
<Type>dart.server.task.QueueManager</Type>
<Schedule>0 0/10 * * * ?</Schedule>
<Properties>
<Property name="MaxTasks">10</Property>
</Properties>
</Task>
Tasks configured in the Project.xml file are periodically scheduled. Tasks
must implement the
dart.server.task.Task interface. In the above example, the
dart.server.task.QueueManager is
scheduled to run every 10 minutes. The QueueManager class processes other
Tasks that have been placed
24 Chapter 5. Server Setup
in the TaskQueue. The Properties tag specifies settings that are passed
into the Task when it executes.
For QueueManager, the "MaxTasks" property indicates how many queued tasks
will be processed at during
each execution, providing a "throttling" mechanism.
"
_______________________________________________
Dart mailing list
Dart at public.kitware.com
http://public.kitware.com/mailman/listinfo/dart
More information about the Dart
mailing list