aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/schemas
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-02-16 23:48:15 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-02-16 23:48:15 +0800
commit6d818c25c7d88a297a11bb983b52bd08ac7b856d (patch)
treefe3c8efe8348b6ffdf135cc7e31c0b7e0e4889f8 /packages/connect/src/schemas
parentc4bcf24640a6fafa214e37543df90f3df36a301f (diff)
downloaddexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.tar
dexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.tar.gz
dexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.tar.bz2
dexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.tar.lz
dexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.tar.xz
dexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.tar.zst
dexon-sol-tools-6d818c25c7d88a297a11bb983b52bd08ac7b856d.zip
Add an enforced minimum for the heartbeat interval
Diffstat (limited to 'packages/connect/src/schemas')
-rw-r--r--packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts5
1 files changed, 4 insertions, 1 deletions
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,
+ },
},
};