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:
parent
d452e45f37
commit
0afcba27bf
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user