1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00

chore: add a flag to deny streaming for non edge connections (#10905)

This commit is contained in:
Simon Hornby 2025-11-03 14:45:23 +02:00 committed by GitHub
parent d452e45f37
commit 0afcba27bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,7 @@ export type IFlagKey =
| 'showUserDeviceCount'
| 'memorizeStats'
| 'streaming'
| 'denyStreamingForNonEdge'
| 'deltaApi'
| 'uniqueSdkTracking'
| 'consumptionModel'
@ -254,6 +255,10 @@ const flags: IFlags = {
false,
),
},
denyStreamingForNonEdge: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_STREAMING_DENY_STREAMING_FOR_NON_EDGE,
false,
),
fetchMode: {
name: 'disabled',
enabled: parseEnvVarBoolean(