Extending tabs for plugins ?
- Philippe Lafoucrière
- 2010-02-10 @ 08:32
I diving into resque and its plugin, and all of this is great.
Anyway, I don't think adding more and more tabs is the solution to all problem.
In my case, I have both resque-schedule and resque-status plugins
installed for various needs.
Now I have jobs in the queues, schedule, delayed, statuses tabs. I've
created a gist to demonstrate my point :
This job will retry itself on failure, a certain number of times. The
1st attempt appear in the Queues tab, then in the delayed job if it
has failed on the first time.
I have a job with status ? I won't see it in my queue (haven't tested
yet), but in the Statuses tab.
It's a good overview of jobs to have them spread over tabs. Why don't
we let plugins extand the columns of "Pending jobs on bets" in Queues
We would have a complete view of upcoming jobs in the queues, without
having to merge by head all jobs from all the tabs.
Re: [resque] Extending tabs for plugins ?
- Chris Wanstrath
- 2010-02-12 @ 21:27
2010/2/10 Philippe Lafoucrière <email@example.com>:
> It's a good overview of jobs to have them spread over tabs. Why don't
> we let plugins extand the columns of "Pending jobs on bets" in Queues
> instead ?
> We would have a complete view of upcoming jobs in the queues, without
> having to merge by head all jobs from all the tabs.
A patch for this idea would be awesome - we can help you clean it up
if you're a bit unsure of how best to approach the idea.