- vod.py service: increment_view_count now writes to Redis incr (no DB lock)
flush_view_counts() batch-writes deltas back to DB every 5 minutes
- scheduler: add flush_view_counts job (IntervalTrigger 5min)
- router/vod: update increment_view_count call (no db param)
- router/history: upsert logic already existed, add response body {id, progress}
change error/unknown messages to ASCII to avoid Windows GBK issues
- pytest.ini: set asyncio_mode=auto and asyncio_default_fixture_loop_scope=function
eliminates all PytestDeprecationWarning
fix: add env_file_encoding utf-8 to fix Windows GBK decode error on .env load
- config.py: add env_file_encoding='utf-8' to model_config
- .env: remove Chinese comments to ensure ASCII-safe .env file
- Redis connection verified: 124.221.224.204:7102 db=5 ok
- Tests now run in 23s (vs 93s before) due to Redis cache hits