diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-02-16 23:48:15 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-02-16 23:48:15 +0800 |
commit | 6d818c25c7d88a297a11bb983b52bd08ac7b856d (patch) | |
tree | fe3c8efe8348b6ffdf135cc7e31c0b7e0e4889f8 /packages/connect/src/schemas | |
parent | c4bcf24640a6fafa214e37543df90f3df36a301f (diff) | |
download | dexon-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.ts | 5 |
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, + }, }, }; |