queue.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. return array(
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Default Queue Driver
  6. |--------------------------------------------------------------------------
  7. |
  8. | The Laravel queue API supports a variety of back-ends via an unified
  9. | API, giving you convenient access to each back-end using the same
  10. | syntax for each one. Here you may set the default queue driver.
  11. |
  12. | Supported: "sync", "beanstalkd"
  13. |
  14. */
  15. 'default' => 'sync',
  16. /*
  17. |--------------------------------------------------------------------------
  18. | Queue Connections
  19. |--------------------------------------------------------------------------
  20. |
  21. | Here you may configure the connection information for each server that
  22. | is used by your application. A default configuration has been added
  23. | for each back-end shipped with Laravel. You are free to add more.
  24. |
  25. */
  26. 'connections' => array(
  27. 'sync' => array(
  28. 'driver' => 'sync',
  29. ),
  30. 'beanstalkd' => array(
  31. 'driver' => 'beanstalkd',
  32. 'host' => 'localhost',
  33. 'queue' => 'default',
  34. ),
  35. ),
  36. );