Commit 79e3eff
committed
fix(cache-middleware): wire max_entries through register.py
Per CodeRabbit on #1879: CacheMiddlewareConfig.max_entries was added
to the config schema but register.py still instantiated CacheMiddleware
with only (enabled_mode, similarity_threshold) — so a configured
max_entries value was silently ignored and deployments always used the
1024 default.
Pass config.max_entries through to the constructor so config-driven
LRU sizing actually takes effect.
Signed-off-by: ColinM-sys <cmcdonough@50words.com>1 parent 7d06b94 commit 79e3eff
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments