From f80bb8e0e3749ccaad61f3908f55d34526b284a8 Mon Sep 17 00:00:00 2001 From: Step7750 <step7750@gmail.com> Date: Fri, 13 Sep 2024 21:36:22 -0600 Subject: [PATCH] Increases Pending Trades to Fetch to 1000 --- src/lib/alarms/csfloat_trade_pings.ts | 2 +- src/lib/components/trade_offer/auto_fill.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/alarms/csfloat_trade_pings.ts b/src/lib/alarms/csfloat_trade_pings.ts index d69f25e8..070b77c0 100644 --- a/src/lib/alarms/csfloat_trade_pings.ts +++ b/src/lib/alarms/csfloat_trade_pings.ts @@ -27,7 +27,7 @@ export async function pingTradeStatus() { let pendingTrades: Trade[]; try { - const resp = await FetchPendingTrades.handleRequest({limit: 500}, {}); + const resp = await FetchPendingTrades.handleRequest({limit: 1000}, {}); pendingTrades = resp.trades; } catch (e) { console.error(e); diff --git a/src/lib/components/trade_offer/auto_fill.ts b/src/lib/components/trade_offer/auto_fill.ts index 6b614b41..39dde345 100644 --- a/src/lib/components/trade_offer/auto_fill.ts +++ b/src/lib/components/trade_offer/auto_fill.ts @@ -91,7 +91,7 @@ export class AutoFill extends FloatElement { } try { - this.pendingTradesResponse = await ClientSend(FetchPendingTrades, {limit: 500}); + this.pendingTradesResponse = await ClientSend(FetchPendingTrades, {limit: 1000}); } catch (e: any) { console.error( 'failed to fetch pending trades on CSFloat Market, they are likely not logged in.',