diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-29 04:11:00 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-29 04:11:00 +0800 |
commit | 9e673f0073b9e6c58256df88bd2d061593a6b1bc (patch) | |
tree | f548e0dd672bd6736677142903d4698eb270826d /packages/0x.js/src/types.ts | |
parent | 78f0ab36823127b67c1ea24b7245c51ba814b16a (diff) | |
download | dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.tar dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.tar.gz dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.tar.bz2 dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.tar.lz dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.tar.xz dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.tar.zst dexon-0x-contracts-9e673f0073b9e6c58256df88bd2d061593a6b1bc.zip |
Add a cleanup job to an order watcher
Diffstat (limited to 'packages/0x.js/src/types.ts')
-rw-r--r-- | packages/0x.js/src/types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index af4f054f0..91a5978ea 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -406,11 +406,13 @@ export interface JSONRPCPayload { * eventPollingIntervalMs: How often to poll the Ethereum node for new events. Defaults: 200 * expirationMarginMs: Amount of time before order expiry that you'd like to be notified * of an orders expiration. Defaults: 0 + * cleanupJobIntervalMs: How often to run a cleanup job which revalidates all the orders. Defaults: 1h */ export interface OrderStateWatcherConfig { orderExpirationCheckingIntervalMs?: number; eventPollingIntervalMs?: number; expirationMarginMs?: number; + cleanupJobIntervalMs?: number; } /* |