Throttle and schedule buffered output delivery
This commit is contained in:
@@ -25,6 +25,10 @@ class Config:
|
||||
|
||||
# Buffer
|
||||
output_buffer_interval: float = float(os.getenv("OUTPUT_BUFFER_INTERVAL", "2.0"))
|
||||
output_settle_seconds: float = float(os.getenv("OUTPUT_SETTLE_SECONDS", "4.0"))
|
||||
output_flush_interval_seconds: float = float(
|
||||
os.getenv("OUTPUT_FLUSH_INTERVAL_SECONDS", "15.0")
|
||||
)
|
||||
max_message_length: int = int(os.getenv("MAX_MESSAGE_LENGTH", "3000"))
|
||||
|
||||
# Status reporting / reconnect
|
||||
|
||||
Reference in New Issue
Block a user