mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(api): eliminate idle Postgres I/O on self-hosted instances (#1593)
This commit is contained in:
1 parent
8a9b12e6a1
commit
beb906753f
19 files changed
+80
-268
No files matched your search
@@ -231,6 +231,7 @@ function defaultConfig(): MasterConfig {
|
||||
api_key: '',
|
||||
pull_zone_id: 0,
|
||||
},
|
||||
blocklist_feeds: {},
|
||||
risk_integration: {
|
||||
enabled: false,
|
||||
ipinfo_api_key: '',
|
||||
|
||||
@@ -271,6 +271,9 @@ export interface MasterConfig {
|
||||
api_key: string;
|
||||
pull_zone_id: number;
|
||||
};
|
||||
blocklist_feeds: {
|
||||
enabled?: boolean;
|
||||
};
|
||||
risk_integration: {
|
||||
enabled: boolean;
|
||||
ipinfo_api_key: string;
|
||||
|
||||
@@ -282,6 +282,7 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record<string, NamedEnvOverride> = {
|
||||
FLUXER_KLIPY_API_KEY: {path: ['integrations', 'klipy', 'api_key']},
|
||||
FLUXER_YOUTUBE_API_KEY: {path: ['integrations', 'youtube', 'api_key']},
|
||||
FLUXER_BUNNY_PURGE_ENABLED: {path: ['integrations', 'bunny', 'purge_enabled'], parse: parseEnvValue},
|
||||
FLUXER_BLOCKLIST_FEEDS_ENABLED: {path: ['integrations', 'blocklist_feeds', 'enabled'], parse: parseEnvValue},
|
||||
FLUXER_BUNNY_API_KEY: {path: ['integrations', 'bunny', 'api_key']},
|
||||
FLUXER_BUNNY_PULL_ZONE_ID: {path: ['integrations', 'bunny', 'pull_zone_id'], parse: parseEnvValue},
|
||||
FLUXER_RISK_INTEGRATION_ENABLED: {path: ['integrations', 'risk_integration', 'enabled'], parse: parseEnvValue},
|
||||
|
||||
Reference in new issue
Block a user