Archived
Introduce v2 protocol with queue-based request handling, adaptive polling, and new core operations
This commit is contained in:
1 parent
726bbe8064
commit
30f5faa9a7
19 files changed
+485
-66
No files matched your search
+3
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
RDB_Constants = {}
|
||||
|
||||
RDB_Constants.PROTOCOL_VERSION = 1
|
||||
RDB_Constants.PROTOCOL_VERSION = 2
|
||||
|
||||
RDB_Constants.OPT = {
|
||||
PROTOCOL_VERSION = "RconDataBridge_ProtocolVersion",
|
||||
@@ -29,4 +29,6 @@ RDB_Constants.ERROR_CODES = {
|
||||
PLAYER_NOT_FOUND = "PLAYER_NOT_FOUND",
|
||||
SAVE_FAILED = "SAVE_FAILED",
|
||||
INTERNAL_ERROR = "INTERNAL_ERROR",
|
||||
QUEUE_FULL = "QUEUE_FULL",
|
||||
CORE_OP_PROTECTED = "CORE_OP_PROTECTED",
|
||||
}
|
||||
@@ -2,8 +2,18 @@
|
||||
"Sandbox_RconDataBridge": "RCON Data Bridge",
|
||||
"Sandbox_RconDataBridge_DebugSelfTest": "Debug Self-Tests",
|
||||
"Sandbox_RconDataBridge_DebugSelfTest_tooltip": "Run RDB_Json/RDB_Base64 self-tests and log the result on every server boot.",
|
||||
"Sandbox_RconDataBridge_PollEveryTicks": "Poll Interval (ticks)",
|
||||
"Sandbox_RconDataBridge_PollEveryTicks_tooltip": "How many server ticks between checks of the request mailbox and the online-player roster. Lower is more responsive, higher is less overhead.",
|
||||
"Sandbox_RconDataBridge_RosterPollTicks": "Roster Poll Interval (ticks)",
|
||||
"Sandbox_RconDataBridge_RosterPollTicks_tooltip": "How many server ticks between online-player roster checks (connect/disconnect detection).",
|
||||
"Sandbox_RconDataBridge_PollIntervalIdleTicks": "Request Poll Interval, Idle (ticks)",
|
||||
"Sandbox_RconDataBridge_PollIntervalIdleTicks_tooltip": "How many server ticks between request-queue checks when there's been no recent traffic.",
|
||||
"Sandbox_RconDataBridge_PollIntervalActiveTicks": "Request Poll Interval, Active (ticks)",
|
||||
"Sandbox_RconDataBridge_PollIntervalActiveTicks_tooltip":"How many server ticks between request-queue checks while recently active (within Active Window). Lower is more responsive, higher is less overhead.",
|
||||
"Sandbox_RconDataBridge_ActiveWindowSeconds": "Active Window (seconds)",
|
||||
"Sandbox_RconDataBridge_ActiveWindowSeconds_tooltip": "How long after the last processed request the bridge keeps polling at the Active interval before decaying back to Idle.",
|
||||
"Sandbox_RconDataBridge_RequestsPerTick": "Requests Processed Per Poll",
|
||||
"Sandbox_RconDataBridge_RequestsPerTick_tooltip": "How many queued requests are dequeued and processed on each poll.",
|
||||
"Sandbox_RconDataBridge_MaxQueueDepth": "Max Queue Depth",
|
||||
"Sandbox_RconDataBridge_MaxQueueDepth_tooltip": "Maximum number of requests allowed to sit in the queue at once. A batch that would exceed this is rejected whole with QUEUE_FULL.",
|
||||
"Sandbox_RconDataBridge_IdempotencyTtlSeconds": "Idempotency Window (seconds)",
|
||||
"Sandbox_RconDataBridge_IdempotencyTtlSeconds_tooltip": "How long a repeated request id replays its cached response instead of running again.",
|
||||
"Sandbox_RconDataBridge_RateLimitMaxRequests": "Rate Limit: Max Requests",
|
||||
|
||||
Reference in new issue
Block a user