feat: add service lock file and multi-worker startup guard with session cache clear

This commit is contained in:
2026-06-02 21:17:51 +00:00
parent a136287d36
commit 13870d3219
30 changed files with 406 additions and 103 deletions
+2
View File
@@ -13,6 +13,8 @@ SESSION_MAX_AGE = 86400 * 7
PORT = 10500
SITE_URL = environ.get("DEVPLACE_SITE_URL", "").rstrip("/")
SERVICE_LOCK_FILE = BASE_DIR / "devplace-services.lock"
VAPID_PRIVATE_KEY_FILE = BASE_DIR / "notification-private.pem"
VAPID_PRIVATE_KEY_PKCS8_FILE = BASE_DIR / "notification-private.pkcs8.pem"
VAPID_PUBLIC_KEY_FILE = BASE_DIR / "notification-public.pem"