Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我运行一个工人时,它正在关闭并出现错误“超出时间限制”。如何增加工人的时间限制。
默认情况下,dramatiq 的默认演员时间限制为 10 分钟,这意味着任何运行时间超过 10 分钟的演员都会因 TimeLimitExceeded 错误而被杀死。要增加时间限制,请向参与者添加 time_limit 参数(以毫秒为单位)。@actor(time_limit=60000)