Skip to content

Commit

Permalink
fix(constants): Bump default fillDeadline 2.5 -> 3.25 hours (#1416)
Browse files Browse the repository at this point in the history
2.5 hours has proven to be a little bit too tight. So far there have
been 3 large deposits that timed out shortly before slow fills could be
executed. Analysis of these fills shows that even 3 hours would have
been tight (but not impossible). Conservatively default to 3.25 hours
instead. To be updated in the event that dart request a different
number.
  • Loading branch information
pxrl authored Jan 31, 2025
1 parent 6faf533 commit 6bde698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ export const DEFAULT_LITE_CHAIN_USD_MAX_BALANCE = "250000";

export const DEFAULT_LITE_CHAIN_USD_MAX_DEPOSIT = "25000";

export const DEFAULT_FILL_DEADLINE_BUFFER_SECONDS = 2.5 * 60 * 60; // 2.5 hours
export const DEFAULT_FILL_DEADLINE_BUFFER_SECONDS = 3.25 * 60 * 60; // 3.25 hours

0 comments on commit 6bde698

Please sign in to comment.