cache DB settings, used cached db settings in ProxyResolver, PageSpeedProvider, and EgressService

This commit is contained in:
Alex Holliday committed 2026-09-16 11:37:29 -07:00
1 parent c66872c7f4
commit 50d0721822
7 files changed
+103 -19

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ export class ProxyResolver implements IProxyResolver {
};
private resolveInherit = async (monitor: Monitor): Promise<string | undefined> => {
const settings = await this.getCached("settings", () => this.settingsService.getDBSettings());
const settings = await this.settingsService.getCachedDBSettings();
if (!settings.globalProxyEnabled) {
return undefined;
}