Jakob,
Yes, restarting the server will clear the task queue. Also, you can replace the
invoked module with a no-op module (xdmp:log("skipping queued task") or
similar) if no other code is calling it. The queue will then "drain" quickly.
I don't believe there is a programmatic way to remove queued tasks.
Yours,
Damon
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jakob Fix
Sent: Tuesday, October 11, 2011 8:55 AM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] how to purge the task server queue?
Hi, we have a long waiting list on our task server and would like to
remove them programmatically. It doesn't look like there is such an
option in the admin: api, or is there? Also, would restarting the
server remove the waiting tasks from the queue?
thanks in advance,
Jakob.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general