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.
我正在使用这个伟大的工具来执行长时间运行的任务Minion ( docs )
对于排队任务,我可以提供文件路径。
如果 minions 在同一台主机上工作,这可以正常工作。
minions但是,如果在不同的主机上运行,如何创建任务并传递二进制数据?
minions
最好的方法应该是:
Minion
在上面的示例中,它将如下所示:--allowed=12345
--allowed=12345
然后任务子可以连接到数据库并通过提供的文件获取文件的内容id
id