Skip to content

Commit ccdf3db

Browse files
authored
Merge pull request #360 from oguzserdar/patch-1
update tweet interval to 90-180 mins
2 parents 4f4316e + 35f243a commit ccdf3db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/client-twitter/src/post.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export class TwitterPostClient extends ClientBase {
3333
this.generateNewTweet();
3434
setTimeout(
3535
generateNewTweetLoop,
36-
(Math.floor(Math.random() * (4 - 1 + 1)) + 1) * 60 * 60 * 1000
37-
); // Random interval between 1 and 4 hours
36+
(Math.floor(Math.random() * (180 - 90 + 1)) + 90) * 60 * 1000
37+
); // Random interval: min 90min/max 180min (1.5-3h), Results in min 8/max 16 posts per day
3838
};
3939
// setTimeout(() => {
4040
generateNewTweetLoop();

0 commit comments

Comments
 (0)