fix: address Bugbot review findings

- Skip module-level integration cache for multi-instance (REDIS_IS_EXTERNAL)
- Add invalidateBoardCache to permission mutations (prevents future leak)
- Remove unused cacheTags.integrationData
- Replace KEYS with SCAN in Redis cache handler refreshTags()
- Document REDIS_CACHE_DB env var
This commit is contained in:
Thomas Camlong committed 2026-08-07 19:04:53 +02:00
1 parent 018f98e318
commit 6b45aca5d5
6 files changed
+25 -16

No files matched your search

@@ -90,6 +90,7 @@ External redis is currently not supported with Proxmox Community Scripts
| `REDIS_USERNAME` | Username to connect to the Redis instance. | Any valid username | - |
| `REDIS_PASSWORD` | Password to connect to the Redis instance. | Any valid password | - |
| `REDIS_DATABASE_INDEX` | Select which database of your redis instance should be used. | Any numeric index | - |
| `REDIS_CACHE_DB` | Redis database number for the Next.js cache handler. Separate from the main Redis DB to avoid key collisions. | Any numeric index | `1` |
| `REDIS_TLS_CA` | CA certificate for Redis TLS connections. If a certificate is specified the connection will use TLS. | Any valid CA certificate | - |
## Proxy