We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506b769 commit b0385d2Copy full SHA for b0385d2
bin/resque
@@ -30,7 +30,15 @@ if(empty($QUEUE)) {
30
die("Set QUEUE env var containing the list of queues to work.\n");
31
}
32
33
+/**
34
+ * REDIS_BACKEND can have simple 'host:port' format or use a DSN-style format like this:
35
+ * - redis://user:pass@host:port
36
+ *
37
+ * Note: the 'user' part of the DSN URI is required but is not used.
38
+ */
39
$REDIS_BACKEND = getenv('REDIS_BACKEND');
40
+
41
+// A redis database number
42
$REDIS_BACKEND_DB = getenv('REDIS_BACKEND_DB');
43
if(!empty($REDIS_BACKEND)) {
44
if (empty($REDIS_BACKEND_DB))
0 commit comments