Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix use of wrong delay limits on batches
Browse files Browse the repository at this point in the history
hfxbse committed May 4, 2024
1 parent 91364dc commit df22378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instagram/follower.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ async function rateLimiter({graph, user, phase, taskCount, limits, controller}:
await delay.delay
return 0
} else {
const delay = randomDelay(limits.rate.delay.daily)
const delay = randomDelay(limits.rate.delay.batches)
controller.enqueue({
type: FollowerFetcherEventTypes.RATE_LIMIT_BATCH,
user: user,

0 comments on commit df22378

Please sign in to comment.