fix: add unbuffered python output in dev runner, cursor pattern in analytics
- dev_run.sh: add -u flag so log output is not buffered (real-time visibility) - analytics.py: use explicit cursor() with try/finally close instead of calling execute() directly on the connection (thread-safe cursor lifecycle) - .sops.yaml: add second age public key for local dev decryption access - content/__init__.py: whitespace-only formatting fix Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -165,8 +165,8 @@ echo ""
|
||||
echo "Press Ctrl-C to stop all processes."
|
||||
echo ""
|
||||
|
||||
run_with_label "$COLOR_APP" "app " uv run python -m padelnomics.app
|
||||
run_with_label "$COLOR_WORKER" "worker" uv run python -m padelnomics.worker
|
||||
run_with_label "$COLOR_APP" "app " uv run python -u -m padelnomics.app
|
||||
run_with_label "$COLOR_WORKER" "worker" uv run python -u -m padelnomics.worker
|
||||
run_with_label "$COLOR_CSS" "css " make css-watch
|
||||
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user