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

11 commits

Author SHA1 Message Date
Jean byroot Boussier
aaac999c6d
Add a compatibility layer for redis-client (#5298)
* Add a compatibility layer for `redis-client`

As discussed in https://github.com/mperham/sidekiq/pull/5253

Switching entirely to redis-client is deemed risky, so instead
we can support both.

All is needed is a small translation layer, and some very minimal
adjustments in the callers.

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Co-authored-by: Mike Perham <mperham@gmail.com>
2022-05-10 12:25:04 -07:00
Mike Perham
bb2f10f971 Fix another pipeline block warning 2022-02-04 12:06:16 -08:00
Jean byroot Boussier
c792342753
Fix deprecated uses of Redis#pipelined and Redis#multi (#5139)
Context: https://github.com/redis/redis-rb/pull/1059

The following is deprecated
```ruby
redis.pipelined do
  redis.get(key)
end
```

And should be rewritten as:
```ruby
redis.pipelined do |pipeline|
  pipeline.get(key)
end
```

Functionally it makes no difference.

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2022-01-24 08:18:16 -08:00
fatkodima
8243c55f25 Add ability to sort 'Enqueued' page on Web UI by enqueued_at time 2019-09-09 15:39:47 -07:00
Bryan FRIMIN
32c55e3165 Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00
Mike Perham
2c9f7662fc Freeze all string literals in source, fixes #2741
Tests pass and smoke test works perfectly.
2015-12-31 15:33:35 -08:00
Mike Perham
cad13dad9b Remove instances of early return while holding a Redis connection 2015-04-10 14:28:28 -07:00
Mike Perham
2dc1295f1d flippin' typo 2014-02-13 21:19:47 -08:00
Mike Perham
68a91c6fe9 Remove try usage, requires Rails, fixes #1474 2014-02-11 10:21:34 -08:00
Mike Perham
81de381ecc Support reverse paging of sorted sets, #1098 2014-02-01 13:51:09 -08:00
Mike Perham
67387a940d Add pagination to Web UI 2012-07-17 22:14:15 -07:00