Skip to content

Commit

Permalink
fix TWITTER_POLL_INTERVAL scale
Browse files Browse the repository at this point in the history
  • Loading branch information
odilitime committed Dec 28, 2024
1 parent 88d1b83 commit 8991190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client-twitter/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ export async function validateTwitterConfig(
runtime.getSetting("TWITTER_RETRY_LIMIT") ||
process.env.TWITTER_RETRY_LIMIT
, 5),
TWITTER_POLL_INTERVAL: // int in minutes
TWITTER_POLL_INTERVAL: // int in seconds
safeParseInt(
runtime.getSetting("TWITTER_POLL_INTERVAL") ||
process.env.TWITTER_POLL_INTERVAL
, 120), // 2h
, 120), // 2m
TWITTER_TARGET_USERS: // comma separated string
parseTargetUsers(
runtime.getSetting("TWITTER_TARGET_USERS") ||
Expand Down

0 comments on commit 8991190

Please sign in to comment.