Skip to content

Commit 7bb1938

Browse files
committed
fix TWITTER_POLL_INTERVAL scale
1 parent c42018e commit 7bb1938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/client-twitter/src/environment.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ export async function validateTwitterConfig(
122122
runtime.getSetting("TWITTER_RETRY_LIMIT") ||
123123
process.env.TWITTER_RETRY_LIMIT
124124
, 5),
125-
TWITTER_POLL_INTERVAL: // int in minutes
125+
TWITTER_POLL_INTERVAL: // int in seconds
126126
safeParseInt(
127127
runtime.getSetting("TWITTER_POLL_INTERVAL") ||
128128
process.env.TWITTER_POLL_INTERVAL
129-
, 120), // 2h
129+
, 120), // 2m
130130
TWITTER_TARGET_USERS: // comma separated string
131131
parseTargetUsers(
132132
runtime.getSetting("TWITTER_TARGET_USERS") ||

0 commit comments

Comments
 (0)