redis - 带有redis的气流芹菜 - 6小时后超时
问题描述
我在使用作为经纪人时遇到了airflow 1.9.0
一些麻烦CeleryExecutor
。redis
我需要完成一项需要超过 6 个小时才能完成的工作,而我正在失去我的芹菜工人。查看 GitHub 中的气流代码,有一个硬编码配置:
我怎么能绕过这个问题?
解决方案
这可以在气流.cfg 部分下进行配置celery_broker_transport_options
。
请参阅添加这种可能性的提交https://github.com/apache/incubator-airflow/commit/be79f87f36b6b99649e0a1f6ab92b41640b3beaa
推荐阅读
- mysql - 如何在 MySQL 中删除指定字符之前的文本?
- c++ - lvalue-ref-qualified 函数可以直接用在 rvalue-ref-qualified 函数中吗?
- gmail-api - Gmail API 不再返回 Access-Control-Allow-Origin
- windows - 如何识别 USB 读卡器
- python - 为什么我的 GaussianProcessRegressor 模型返回常量预测
- excel - 只有数组中的第一个变量粘贴到单元格范围
- c++ - SQLBindCol 在 64 位 Windows 上因“无效的字符串或缓冲区长度”而失败
- php - 使用 php 将特定数据打印到网页中
- javascript - 如何在js中选择下拉项目时启用按钮?
- javascript - 如何缩小或强制行中组件之间的高度相等