Make RCON Data Bridge configuration sandbox-tunable and refactor constants access
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
VERSION = 1,
|
||||
|
||||
option RconDataBridge.DebugSelfTest
|
||||
{
|
||||
type = boolean,
|
||||
default = true,
|
||||
page = RconDataBridge,
|
||||
translation = RconDataBridge_DebugSelfTest,
|
||||
}
|
||||
|
||||
option RconDataBridge.PollEveryTicks
|
||||
{
|
||||
type = integer,
|
||||
min = 1,
|
||||
max = 300,
|
||||
default = 30,
|
||||
page = RconDataBridge,
|
||||
translation = RconDataBridge_PollEveryTicks,
|
||||
}
|
||||
|
||||
option RconDataBridge.IdempotencyTtlSeconds
|
||||
{
|
||||
type = integer,
|
||||
min = 1,
|
||||
max = 3600,
|
||||
default = 60,
|
||||
page = RconDataBridge,
|
||||
translation = RconDataBridge_IdempotencyTtlSeconds,
|
||||
}
|
||||
|
||||
option RconDataBridge.RateLimitMaxRequests
|
||||
{
|
||||
type = integer,
|
||||
min = 1,
|
||||
max = 1000,
|
||||
default = 10,
|
||||
page = RconDataBridge,
|
||||
translation = RconDataBridge_RateLimitMaxRequests,
|
||||
}
|
||||
|
||||
option RconDataBridge.RateLimitWindowSeconds
|
||||
{
|
||||
type = integer,
|
||||
min = 1,
|
||||
max = 3600,
|
||||
default = 10,
|
||||
page = RconDataBridge,
|
||||
translation = RconDataBridge_RateLimitWindowSeconds,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user