Files
TradeMate Dev 7b62c2f8b4 feat: 修复 H5 底部导航覆盖 + 更新项目进度文档
## H5 底部导航修复 (Bug #10)
- 精简 App.vue,移除重复 tabbar,仅保留全局样式
- uni-page 设置 height: calc(100% - 50px) + overflow-y: auto
- 内容区域精确停在底部导航上方,独立滚动不再叠加
- 恢复 custom-tab-bar 组件

## 项目进度文档
- PROGRESS.md 更新至 10 个 Bug 修复
- 新增 H5 底部导航修复记录
- 新增历史变更条目
2026-05-12 20:24:42 +08:00

45 lines
1.2 KiB
Python

from celery import Celery
from app.config import settings
celery_app = Celery(
"tradmate",
broker=settings.CELERY_BROKER_URL,
backend=settings.CELERY_RESULT_BACKEND,
include=[
"app.workers.tasks",
],
)
celery_app.conf.update(
task_serializer="json",
accept_content=["json"],
result_serializer="json",
timezone="UTC",
enable_utc=True,
task_track_started=True,
task_time_limit=300,
worker_prefetch_multiplier=4,
worker_max_tasks_per_child=1000,
beat_schedule={
"check-silent-customers": {
"task": "app.workers.tasks.check_silent_customers",
"schedule": 3600.0,
},
"update-customer-health-cache": {
"task": "app.workers.tasks.update_customer_health_cache",
"schedule": 3600.0,
},
"cleanup-old-sessions": {
"task": "app.workers.tasks.cleanup_old_sessions",
"schedule": 86400.0,
},
"daily-corpus-training": {
"task": "app.workers.tasks.run_daily_corpus_training",
"schedule": 86400.0,
},
"check-followup-engine": {
"task": "app.workers.tasks.check_followup_engine",
"schedule": 21600.0,
},
},
)