From 6d818c25c7d88a297a11bb983b52bd08ac7b856d Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Fri, 16 Feb 2018 08:48:15 -0700 Subject: Add an enforced minimum for the heartbeat interval --- .../connect/src/schemas/websocket_orderbook_channel_config_schema.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/connect/src/schemas') diff --git a/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts b/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts index 2e9987e63..81c0cac9c 100644 --- a/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts +++ b/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts @@ -2,6 +2,9 @@ export const webSocketOrderbookChannelConfigSchema = { id: '/WebSocketOrderbookChannelConfig', type: 'object', properties: { - heartbeatIntervalMs: { type: 'number' }, + heartbeatIntervalMs: { + type: 'number', + minimum: 10, + }, }, }; -- cgit v1.2.3