xnightsky 最近的时间轴更新
xnightsky

xnightsky

V2EX 第 158516 号会员,加入于 2016-02-11 15:16:15 +08:00
xnightsky 最近回复了
2017-02-28 01:23:01 +08:00
回复了 akmonde 创建的主题 Python celery 每个 worker 在执行任务时,如何配置一定数量的 task?
不知他能否干掉已经被 fetch 的命令,需要你排查
2017-02-28 01:21:29 +08:00
回复了 akmonde 创建的主题 Python celery 每个 worker 在执行任务时,如何配置一定数量的 task?
`celery -h` 其他配置项就不说了
看一下命令行说明
````
celery purge

返回
WARNING: This will remove all tasks from queue: celery.
There is no undo for this operation!

(to skip this prompt use the -f option)

Are you sure you want to delete all tasks (yes/NO)?
````
这是我本机的提示
2017-02-27 23:51:30 +08:00
回复了 akmonde 创建的主题 Python celery 每个 worker 在执行任务时,如何配置一定数量的 task?
不过 celelry 命令行有参数能干掉所有任务
2017-02-27 23:50:41 +08:00
回复了 akmonde 创建的主题 Python celery 每个 worker 在执行任务时,如何配置一定数量的 task?
看配置项`result_backend `, task 信息存在 result_backend 配置对应位置,还有`result_expires `配置项,所有 task 默认存 1 天
2016-10-24 10:03:19 +08:00
回复了 wanganjun 创建的主题 Node.js 怎么在 Ubuntu 下让多个独立的 node 进程都使用 80 端口
nginx + upstream (配置) 反向转发,通过 nginx 监听 80 端口, nginx 根据配置去转发
2016-03-11 10:37:33 +08:00
回复了 tracyone 创建的主题 Android 看了 FVIEW 的米 5 评测看到可黑之处
“猜你喜欢…出现了几个应用推荐”, 默认会创建 1~N 个推荐功能开启的桌面文件夹,需要关闭,这点还好, MIUI 要黑的是,我每次切换默认浏览器,我一升级,就切回默认了。。。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2197 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 02:12 · PVG 10:12 · LAX 19:12 · JFK 22:12
Developed with CodeLauncher
♥ Do have faith in what you're doing.