Advertisement
Guest User

Untitled

a guest
Jul 17th, 2020
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <?php
  2.  
  3. return [
  4.  
  5. 'domain' => null,
  6.  
  7. 'path' => 'horizon',
  8.  
  9. 'use' => 'default',
  10.  
  11. 'prefix' => env('HORIZON_PREFIX', 'horizon:'),
  12.  
  13. 'middleware' => ['web'],
  14.  
  15. 'waits' => [
  16. 'rabbitmq:messages' => 60,
  17. 'redis:default' => 60,
  18. ],
  19.  
  20. 'trim' => [
  21. 'recent' => 60,
  22. 'completed' => 60,
  23. 'recent_failed' => 10080,
  24. 'failed' => 10080,
  25. 'monitored' => 10080,
  26. ],
  27.  
  28. 'fast_termination' => false,
  29.  
  30. 'memory_limit' => 64,
  31.  
  32. 'environments' => [
  33. 'production' => [
  34. 'supervisor-1' => [
  35. 'connection' => 'redis',
  36. 'queue' => ['default'],
  37. 'balance' => 'simple',
  38. 'processes' => 10,
  39. 'tries' => 1,
  40. ],
  41. ],
  42.  
  43. 'local' => [
  44. 'supervisor-rabbitmq' => [
  45. 'connection' => 'rabbitmq',
  46. 'queue' => ['messages'],
  47. 'balance' => 'simple',
  48. 'processes' => 3,
  49. 'tries' => 3,
  50. ],
  51. 'supervisor-redis' => [
  52. 'connection' => 'redis',
  53. 'queue' => ['default'],
  54. 'balance' => 'simple',
  55. 'processes' => 3,
  56. 'tries' => 3,
  57. ],
  58. ],
  59. ],
  60. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement