aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-07 06:04:45 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-07 06:08:30 +0800
commit0823bd24d6e6a69fcd8638852f1b93eebd7d68b3 (patch)
tree3796e1aa4d94c1d435ac3a825b32e4ef71da73d0 /packages/asset-buyer/src
parentce4081bb18bffb364050f04796f3174b87b7303e (diff)
downloaddexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.tar
dexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.tar.gz
dexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.tar.bz2
dexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.tar.lz
dexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.tar.xz
dexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.tar.zst
dexon-sol-tools-0823bd24d6e6a69fcd8638852f1b93eebd7d68b3.zip
fix(asset-buyer): lower default expiryBuffer from 5 minutes to 2 minutes
Diffstat (limited to 'packages/asset-buyer/src')
-rw-r--r--packages/asset-buyer/src/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/constants.ts b/packages/asset-buyer/src/constants.ts
index cc415102c..c0e1bf27d 100644
--- a/packages/asset-buyer/src/constants.ts
+++ b/packages/asset-buyer/src/constants.ts
@@ -9,7 +9,7 @@ const MAINNET_NETWORK_ID = 1;
const DEFAULT_ASSET_BUYER_OPTS: AssetBuyerOpts = {
networkId: MAINNET_NETWORK_ID,
orderRefreshIntervalMs: 10000, // 10 seconds
- expiryBufferSeconds: 300, // 5 minutes
+ expiryBufferSeconds: 120, // 2 minutes
};
const DEFAULT_BUY_QUOTE_REQUEST_OPTS: BuyQuoteRequestOpts = {