Лабораторная 2: PostgreSQL, сессии, Valkey, трек 2

This commit is contained in:
2026-10-16 19:39:21 +03:00
commit aa0fd15616
82 changed files with 7996 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Сохранность при полном рестарте (песочничный hook: API (uvicorn, 2 процесса) + PostgreSQL + Redis, данные на диске сохраняются)
== before ==
postgres postmaster_start=2026-10-15 21:38:10.905693+00
redis uptime_s=73
api master_pid=197
rows users=127 messages=1242 sessions=52
== make test-persistence ==
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
== after ==
postgres postmaster_start=2026-10-15 21:39:16.659936+00
redis uptime_s=2
api master_pid=587
rows users=130 messages=1243 sessions=55