Commit f8bb0d1
fix: make Redis non-fatal in production to prevent crash loop on Cloud Run
Redis init was raising RuntimeError in production, causing Gunicorn worker
crash loop when Memorystore connection fails during cold start. Now logs
error but continues — app runs in degraded mode without Redis (no cache,
no pub/sub, dashboard uses DB fallback).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 437d37e commit f8bb0d1
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
31 | 27 | | |
32 | | - | |
| 28 | + | |
| 29 | + | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
0 commit comments