aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-10-06 06:25:54 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-10-06 06:25:54 +0800
commitcb1311ecc5889a0fd81b61f3ab7b66605d75960f (patch)
treed9a29afedd0738e8cafeeae5d881a7a2ac0e0cee
parent9ba00a1077ba53f00e7b75f650289dfc3aff47ff (diff)
downloaddexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.tar
dexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.tar.gz
dexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.tar.bz2
dexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.tar.lz
dexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.tar.xz
dexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.tar.zst
dexon-sol-tools-cb1311ecc5889a0fd81b61f3ab7b66605d75960f.zip
Increase default expiryBufferSeconds from 15 to 300 (5 minutes)
-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 e1056e39b..bc168e462 100644
--- a/packages/asset-buyer/src/constants.ts
+++ b/packages/asset-buyer/src/constants.ts
@@ -8,7 +8,7 @@ const MAINNET_NETWORK_ID = 1;
const DEFAULT_ASSET_BUYER_OPTS: AssetBuyerOpts = {
networkId: MAINNET_NETWORK_ID,
orderRefreshIntervalMs: 10000, // 10 seconds
- expiryBufferSeconds: 15,
+ expiryBufferSeconds: 300,
};
const DEFAULT_BUY_QUOTE_REQUEST_OPTS: BuyQuoteRequestOpts = {