From f6ad08698bc7caf15aa59a0d0248eba98c4141e7 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 28 Jan 2013 11:58:38 -0600 Subject: [PATCH] added queue config and service provider. --- app/config/app.php | 1 + app/config/queue.php | 45 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 app/config/queue.php diff --git a/app/config/app.php b/app/config/app.php index 1e3382a3..335ac6e9 100644 --- a/app/config/app.php +++ b/app/config/app.php @@ -97,6 +97,7 @@ return array( 'Illuminate\Database\MigrationServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Foundation\Providers\PublisherServiceProvider', + 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Database\SeedServiceProvider', 'Illuminate\Foundation\Providers\ServerServiceProvider', diff --git a/app/config/queue.php b/app/config/queue.php new file mode 100644 index 00000000..5dc5cb0c --- /dev/null +++ b/app/config/queue.php @@ -0,0 +1,45 @@ + 'sync', + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection information for each server that + | is used by your application. A default configuration has been added + | for each back-end shipped with Laravel. You are free to add more. + | + */ + + 'connections' => array( + + 'sync' => array( + 'driver' => 'sync', + ), + + 'beanstalkd' => array( + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', + ), + + ), + +); \ No newline at end of file