Commit 5ce3124
committed
fix(redis): configure Redis for production stability
Fix Redis MISCONF errors by disabling RDB snapshots and allowing
writes even if persistence fails. Add production optimizations.
- Disable RDB (--save "") - AOF is sufficient
- Set stop-writes-on-bgsave-error no
- Change policy to allkeys-lru (evict instead of fail)
- Increase memory limits (4gb/5G)
- Add TCP tuning and lazyfree optimizations
- Upgrade to redis:7-alpine
Fixes production worker errors from Redis write blocking.1 parent dba69f0 commit 5ce3124
1 file changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
65 | 79 | | |
66 | 80 | | |
67 | 81 | | |
68 | 82 | | |
| 83 | + | |
| 84 | + | |
69 | 85 | | |
70 | 86 | | |
71 | 87 | | |
| |||
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
77 | | - | |
| 93 | + | |
78 | 94 | | |
79 | | - | |
| 95 | + | |
80 | 96 | | |
81 | 97 | | |
82 | 98 | | |
| |||
0 commit comments