mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
perf(api): gate response schema revalidation to non-production (#2134)
This commit is contained in:
1 parent
dd610e4c0f
commit
5bac4fd719
13 files changed
+239
-87
No files matched your search
@@ -366,6 +366,7 @@ export interface MasterConfig {
|
||||
disable_rate_limits: boolean;
|
||||
test_mode_enabled: boolean;
|
||||
test_harness_token?: string;
|
||||
validate_responses?: boolean;
|
||||
};
|
||||
geoip: {
|
||||
maxmind_db_path: string;
|
||||
|
||||
@@ -411,6 +411,7 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record<string, NamedEnvOverride> = {
|
||||
FLUXER_DISABLE_RATE_LIMITS: {path: ['dev', 'disable_rate_limits'], parse: parseEnvValue},
|
||||
FLUXER_TEST_MODE_ENABLED: {path: ['dev', 'test_mode_enabled'], parse: parseEnvValue},
|
||||
FLUXER_TEST_HARNESS_TOKEN: {path: ['dev', 'test_harness_token']},
|
||||
FLUXER_VALIDATE_RESPONSES: {path: ['dev', 'validate_responses'], parse: parseEnvValue},
|
||||
FLUXER_GEOIP_DB_PATH: {path: ['geoip', 'maxmind_db_path']},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user