Browse Source

Sample database config.

Taylor Otwell 9 years ago
parent
commit
49cbb23ac5
1 changed files with 9 additions and 1 deletions
  1. 9 1
      config/queue.php

+ 9 - 1
config/queue.php

@@ -11,7 +11,8 @@ return [
 	| API, giving you convenient access to each back-end using the same
 	| syntax for each one. Here you may set the default queue driver.
 	|
-	| Supported: "null", "sync", "beanstalkd", "sqs", "iron", "redis"
+	| Supported: "null", "sync", "database", beanstalkd",
+	|            "sqs", "iron", "redis"
 	|
 	*/
 
@@ -34,6 +35,13 @@ return [
 			'driver' => 'sync',
 		],
 
+		'database' => [
+			'driver' => 'database',
+			'table' => 'jobs',
+			'queue' => 'default',
+			'expire' => 60,
+		],
+
 		'beanstalkd' => [
 			'driver' => 'beanstalkd',
 			'host'   => 'localhost',