Commit df89630
Adds -r flag to resque-web for redis connection
-r or --redis can now be used to specify the
redis connection string.
TODO: A string like redis://:secret@localhost is encountering an
error, even though it works in irb doing:
irb> require 'redis'
irb> r = Redis.connect(:url => "redis://:secret@localhost")
=> #<Redis client v2.2.2 connected to redis://localhost:6379/0 (Redis
v2.2.12)>1 parent 4d530b8 commit df89630
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
0 commit comments