Skip to content

Commit ccc2234

Browse files
authored
Update comment to reflect LRU eviction strategy
1 parent 28b31aa commit ccc2234

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/var/www/admin/control-panel/external-services/external-services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class ExternalServicesManager {
3333
this.container = document.querySelector(containerSelector);
3434
this.settingsContainer = document.querySelector(settingsContainerSelector);
3535

36-
// State management with TTL cache and FIFO eviction (5-minute TTL, max 100 entries)
36+
// State management with TTL cache and LRU eviction (5-minute TTL, max 100 entries)
3737
this.serviceCache = new Map();
3838
this.cacheTTL = 5 * 60 * 1000; // 5 minutes in milliseconds
3939
this.cacheMaxSize = 100; // Limit cache size to prevent memory growth

0 commit comments

Comments
 (0)