Skip to content

Commit 35f243a

Browse files
authored
update tweet interval to 90-180 mins
Temporary solution for controlled post frequency range of 8-16 posts per day
1 parent 4f4316e commit 35f243a

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)