// Copyright (c) Subzero Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
use crateMAX_ORACLE_OUTPUT_SIZE;
/// Maximum number of messages that can be sent at once over a WebSocket connection.
pub const WEBSOCKET_MAX_BATCH_MESSAGES: usize = 100;
/// Maximum size of WebSocket data buffer (matches oracle output limits).
pub const WEBSOCKET_MAX_BUFFER_SIZE: usize = MAX_ORACLE_OUTPUT_SIZE;
/// Maximum reconnection backoff in seconds for WebSocket connections in the TEE
/// (used for exponential backoff when retrying failed connections).
pub const WEBSOCKET_MAX_RECONNECT_BACKOFF_SECS: u64 = 5;