1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Mike Perham
5e66719df6 Fix busy counter in UI, update changes 2014-03-08 14:33:25 -08:00
Mike Perham
ba8c8a57b9 Rework process/worker data model.
We no longer have a global 'workers' set but rather a global 'processes' set.  Each process has its own workers hash, keyed by thread id.

Rely as much as possible on Redis key expiration to naturally prune any lingering data.  Process data only has a one minute TTL, with the heartbeat refreshing the TTL, so it will expire quickly after a process dies.
2014-03-07 22:41:10 -08:00
Mike Perham
bbe245e4ff Initial pass at heartbeat, still failing tests 2014-03-02 16:36:00 -08:00
Mike Perham
404069ab83 Add Sidekiq::Workers#prune API to remove orphaned records 2014-02-27 21:15:08 -08:00
Mike Perham
20b7a4fe47 Auto-prune old jobs from worker list, fixes #1508 2014-02-21 17:59:32 -08:00
Mike Perham
570cf2d0ea Merge pull request #1305 from dleung/bug_fix/invalid_byte_sequence
Sidekiq Web: If text contains invalid byte sequence, replace them instead of raising an exception
2013-11-14 21:11:42 -08:00
Mike Perham
9e2c6acc4f Changes for the upcoming Pro filtering feature 2013-11-10 12:54:17 -08:00
David Leung
318f4eb719 Sidekiq Web: If text contains invalid byte sequence, replace them instead of raising an exception 2013-11-04 10:10:37 -08:00
Mike Perham
13a6b44582 Explicatification of Rack's namespace location 2013-11-03 10:04:41 -08:00
Julian Langschaedel
4879701187 Sidekiq::Web escape display_args too 2013-10-30 23:10:23 +01:00
Julian Langschaedel
2243426914 use Rack::Utils.escape_html in Sidekiq::Web escape helper
ERB::Util.h doesn't escape apostrophes and slash.

  Rack::Utils.escape_html is more performant and also escapes all char recommended by OWASP. (https://github.com/rack/rack/issues/27)
2013-10-30 22:12:47 +01:00
Aaron Ackerman
d724875c4a Allow polling and paging parameters to work together in Sidekiq web ui 2013-10-25 22:51:24 -05:00
Jérémy Lecour
462bc4cee1 Display the full Redis connection in Web footer 2013-10-22 16:15:24 +02:00
Mike Perham
ea42d5636c Allow dynamic sidekiq-web locale paths, for localized extensions, fixes #1261 2013-10-21 12:07:18 -07:00
Mike Perham
7a41404c04 Web UI cleanup/refactoring, fixes #1247
- Pull out helpers into separate module
- Fix i18n strings to be loaded once, not every request
- Clearer separation between default and custom tabs
- Fix action redirects to contain the query string from the referrer so we don't lose our context upon redirect.
2013-10-13 15:56:17 -07:00