Skip to content

Commit

Permalink
perf: decrease retry delay time
Browse files Browse the repository at this point in the history
  • Loading branch information
StableAgOH committed May 26, 2022
1 parent 2ae409c commit 9ece1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/oj/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { lc } from "./leetcode";
import { lg } from "./luogu";
import { nc } from "./nowcoder";

axiosRetry(axios, { retries: 3, retryDelay: (retryCount) => retryCount * 1000 });
axiosRetry(axios, { retries: 3, retryDelay: () => 1000 });

/**
* name: OJ name
Expand Down

0 comments on commit 9ece1a9

Please sign in to comment.