Skip to content

Commit

Permalink
reduce freq of settle pnl/lp
Browse files Browse the repository at this point in the history
  • Loading branch information
wphan committed Jan 20, 2025
1 parent 1e1df47 commit 7fff10c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bots/userLpSettler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class UserLpSettlerBot implements Bot {
public readonly name: string;
public readonly dryRun: boolean;
public readonly runOnce: boolean;
public readonly defaultIntervalMs: number = 600000;
public readonly defaultIntervalMs: number = 30 * 60 * 1000;

private driftClient: DriftClient;
private lookupTableAccount?: AddressLookupTableAccount;
Expand Down
2 changes: 1 addition & 1 deletion src/bots/userPnlSettler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class UserPnlSettlerBot implements Bot {
public readonly name: string;
public readonly dryRun: boolean;
public readonly runOnce: boolean;
public readonly defaultIntervalMs: number = 300_000;
public readonly defaultIntervalMs: number = 15 * 60 * 1000;

private driftClient: DriftClient;
private slotSubscriber: SlotSubscriber;
Expand Down

0 comments on commit 7fff10c

Please sign in to comment.