On 18/05/10 19:49, Markus Jelsma wrote:
There's no indication it can be queried continuously [1].



[1]: http://wiki.apache.org/couchdb/Runtime_Statistics

-----Original message-----
From: Tom Sante<[email protected]>
Sent: Tue 18-05-2010 19:41
To: [email protected];
Subject: Re: _active_tasks

On 18/05/10 19:17, Markus Jelsma wrote:
http://localhost:5984/_utils/status.html


-----Original message-----
From: Tom Sante<[email protected]>
Sent: Tue 18-05-2010 19:07
To: [email protected];
Subject: _active_tasks

Hey,
Quick question. Can you request info from _active_tasks the same ways
(polling, continuous,..) as with _changes? or can I only have a script
do regular polling if I want to keep an eye on the tasks? my goal is to
have a watcher script, that is a kind of live status board of what view
generation couch is running.

Greetings,

Tom


I know about that and it uses polling, I was just asking if there is any
other way like in the case of _changes feed?
would be a pain to have my job-watcher script having to poll every few
seconds just to keep track of what views are running.


I know, I checked that before I mailed the list, but the wiki is not exactly know for its always up to date info on the actual latest trunk version functionality.

Since my job watcher really is only meant to check status different long running jobs on the system, (only one of those is view generation in couchdb, other are none couch related jobs) I could get away with polling only every few minutes, if I miss it in that interval it's not really long running :-)

Reply via email to