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