Skip to content

Commit

Permalink
feat(twitter): increase auth retry time
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 25, 2024
1 parent dddc5cc commit 41a53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/twitter/api/web-api/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const getAuth = async (retry: number) => {
};

export const twitterGot = async (url, params) => {
const auth = await getAuth(10);
const auth = await getAuth(30);

if (!auth) {
throw new ConfigNotFoundError('No valid Twitter token found');
Expand Down

0 comments on commit 41a53ab

Please sign in to comment.