You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Laravel Vapor默认队列并发数及配置疑问咨询

Laravel Vapor队列并发数问题解答

是的,你的理解完全正确,具体对应关系如下:

  • queue1-production:未指定并发数,使用Vapor默认的1000并发数
  • queue2-production:明确配置了: 10,使用10并发数
  • queue3-production:未指定并发数,使用Vapor默认的1000并发数

你的vapor.yml配置如下:

id: xxx
name: xxx
environments:
    production:
        queue-timeout: 300
        timeout: 180
        cli-timeout: 300
        memory: 1024
        runtime: "php-8.3:al2"
        queues:
          - queue1-production
          - queue2-production: 10
          - queue3-production

内容的提问来源于stack exchange,提问作者TenTen Dela Cruz

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.16 22:44:50