[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Tracker] add one feature to query tracker daemon's busy/idle status
- From: jamie <jamiemcc blueyonder co uk>
- To: jerry tan <Jerry Tan Sun COM>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] add one feature to query tracker daemon's busy/idle status
- Date: Mon, 09 Jul 2007 15:38:04 +0100
On Tue, 2007-07-03 at 18:14 +0800, jerry tan wrote:
> jamie 写道:
> > On Mon, 2007-07-02 at 22:00 +0800, jerry tan wrote:
> >
> >> so when tracker->file_process_queue is not empty, and pending table is
> >> not empty,
> >> track daemon is busy, right?
> >>
> >
> > almost but not quite cause it could still be in the process of indexing
> > the last file
> >
> > see the tracker->status variable as I suggest
> >
> >
> >
> >
> en, use tracker->status is more simple .
>
yes its fine but can you change "IsBusy" to "GetStatus" pls and return a
string instead of a boolean as I asked earlier (the string values should
be based on the enum tracker->status) so GetStatus will return
"Initializing", "Indexing" , "Idle" etc
Also need a tracker-status command line app
I will apply as soon as above is done
thanks
jamie
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]