Skip to content

Commit

Permalink
fix: fix ENABLE_ACTION_PROCESSING logic
Browse files Browse the repository at this point in the history
  • Loading branch information
oxSaturn committed Dec 20, 2024
1 parent ea8cfb3 commit 03e2c00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/client-twitter/src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,7 @@ export class TwitterPostClient {
generateNewTweetLoop();

// Add check for ENABLE_ACTION_PROCESSING before starting the loop
const enableActionProcessing = parseBooleanFromText(
this.runtime.getSetting("ENABLE_ACTION_PROCESSING") ?? "true"
);
const enableActionProcessing = this.runtime.getSetting("ENABLE_ACTION_PROCESSING") ?? false;

if (enableActionProcessing) {
processActionsLoop().catch((error) => {
Expand Down

0 comments on commit 03e2c00

Please sign in to comment.