Commit 38f6fdf
committed
chore(logs): silence models-dev-cache log on unchanged refreshes
The periodic 5-minute API refresh was logging 'models-dev-cache: API
layer loaded N model limits' on every tick, even when the model count
was identical to the previous load. Log only on first successful load
or when the count changes, so the common no-op refresh stays quiet.1 parent 1d22634 commit 38f6fdf
1 file changed
Lines changed: 11 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
243 | 253 | | |
244 | 254 | | |
245 | 255 | | |
| |||
0 commit comments