Files
MemRelay/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-15 16-45-32 UTC [10cffae243].md
T
memrelay 96f81cf8f6 create: Checkpoint 2026-11-15 16:45:32 UTC [10cffae243]
MemRelay-Operation: checkpoint-save:ckpt-launcher-20261116
MemRelay-Resource: d464c673-b1b9-4c2f-872d-f6bf5b6f482d
2026-11-16 00:45:35 +08:00

38 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-15 16:45:32 UTC [10cffae243]
type: checkpoint
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-15-16-45-32-utc-10cffae243
stable_id: d464c673-b1b9-4c2f-872d-f6bf5b6f482d
scope: project
memory_type: checkpoint
project_id: f5708b07-f0ea-42a4-b4ed-0e5443990ff9
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-launcher-20261116
created_at: '2026-11-15T16:45:32.755351+00:00'
updated_at: '2026-11-15T16:45:32.755351+00:00'
tags:
- autostudy
- launcher
---
按账号 Work 启动器:不再全局 gather 轮询。启动器睡到下一个定时点;已在跑跳过,未达标才 `_launch`。首页开始/停止看 `work_running`。保存定时 `sync_work`:达标 halt,已过点且未达标且未停止则拉起。心跳 total 按开课进度冻结。
## 完成
1. AutoStudyWorker 改为调度器 + 每账号 asyncio.Task
2. 不用 Celery/APScheduler
3. 心跳 sent/total 不再每拍重算
4. 115 pytest,前端 build 通过
## 验证
实机 6650000146 当月 paused,started False,立即开始可点。未点开始跑 1187 门课。
## 下一步
用户要跑就点立即开始或先取消本月停止。要提交再说。
## 给下个会话
- uvicorn 127.0.0.1:8000 无 --reload
- 不要提交 data/ Temp/ web/dist .chlz
- 本月已停止的账号不会因窗口已过点自动拉起
- 不要长时间点立即开始跑 1187 门课