Commit Graph

15 Commits

Author SHA1 Message Date
朱潮
c4eaeb6499 修复Celery递归调用错误
- 移除Django应用配置中的手动任务注册
- 使用Celery的imports配置确保任务模块被导入
- 避免在ready()方法中访问Celery应用
- 使用Celery的自动发现机制处理任务注册

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:33:18 +08:00
朱潮
dea3454011 修复Django应用启动时的导入错误
- 在knowledge/apps.py的ready()方法中注册Celery任务
- 移除ops/__init__.py中的直接导入,避免循环依赖
- 简化tasks/__init__.py,使用延迟导入
- 解决"Apps aren't loaded yet"错误

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:25:16 +08:00
朱潮
638bf0dd1b 修复Celery任务注册问题
- 在tasks/__init__.py中导入media_learning任务
- 在ops/__init__.py中注册media_learning任务到Celery应用
- 修复KeyError: 'media_learning_by_document'错误

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:09:19 +08:00
朱潮
f1494fedea modify status parsing 2025-08-25 01:20:33 +08:00
liqiang-fit2cloud
ce52ee3ca7 refactor: change dir permission. 2025-08-08 18:02:10 +08:00
CaptainB
40fcc5bcb9 refactor: replace logging calls with maxkb_logger for consistency 2025-06-25 17:37:09 +08:00
CaptainB
fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
CaptainB
3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
wxg0103
c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
CaptainB
0df7c7247d feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:53:38 +08:00
CaptainB
ee37d7c320 feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:27:59 +08:00
CaptainB
c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
CaptainB
cb104cc211 chore: fix typo 2025-03-31 11:34:43 +08:00
shaohuzhang1
e978c83f02
feat: 文档状态 2024-11-26 12:08:13 +08:00
zhangshaohu
7c5957e0a3 feat: 分离任务 2024-08-21 14:46:38 +08:00