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'
|
| 'showUserDeviceCount'
|
||||||
| 'memorizeStats'
|
| 'memorizeStats'
|
||||||
| 'streaming'
|
| 'streaming'
|
||||||
|
| 'denyStreamingForNonEdge'
|
||||||
| 'deltaApi'
|
| 'deltaApi'
|
||||||
| 'uniqueSdkTracking'
|
| 'uniqueSdkTracking'
|
||||||
| 'consumptionModel'
|
| 'consumptionModel'
|
||||||
@ -254,6 +255,10 @@ const flags: IFlags = {
|
|||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
denyStreamingForNonEdge: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_STREAMING_DENY_STREAMING_FOR_NON_EDGE,
|
||||||
|
false,
|
||||||
|
),
|
||||||
fetchMode: {
|
fetchMode: {
|
||||||
name: 'disabled',
|
name: 'disabled',
|
||||||
enabled: parseEnvVarBoolean(
|
enabled: parseEnvVarBoolean(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user