Skip to content

update tweet interval to 90-180 mins#360

Merged
lalalune merged 1 commit into
elizaOS:mainfrom
oguzserdar:patch-1
Nov 16, 2024
Merged

update tweet interval to 90-180 mins#360
lalalune merged 1 commit into
elizaOS:mainfrom
oguzserdar:patch-1

Conversation

@oguzserdar
Copy link
Copy Markdown
Contributor

Adjust tweet interval randomization

Summary

Adjusts existing randomized posting interval from 1-4 hours to 90-180 minutes (1.5-3 hours) to help with account restrictions until better solution is implemented.

Changes

  • Modified existing interval in generateNewTweetLoop from 1-4 hours to 90-180 minutes
  • Updated interval calculation: (Math.floor(Math.random() * (180 - 90 + 1)) + 90) * 60 * 1000
  • Changes posting range from 6-24 to 8-16 posts per day

Context

This adjustment helps better align with Twitter's usage patterns and provides more consistent posting frequency. A more sophisticated system could be considered that:

  • Could support configurable posting patterns (uniform, normal, life-cycle based)
  • Could allow custom range settings
  • Could include rate limit handling
  • Could add more natural posting behaviors

Testing

  • Verified interval generation stays within 90-180 minute range
  • Tested loop continuation

This provides a baseline that respects platform usage patterns.

Temporary solution for controlled post frequency range of 8-16 posts per day
@lalalune lalalune merged commit ccdf3db into elizaOS:main Nov 16, 2024
@oguzserdar oguzserdar deleted the patch-1 branch November 17, 2024 01:46
lalalune added a commit that referenced this pull request May 3, 2026
update tweet interval to 90-180 mins
FranceFlapjack pushed a commit to FranceFlapjack/eliza that referenced this pull request May 16, 2026
update tweet interval to 90-180 mins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants