Skip to content

chore(support): poll Gmail every 1 minute#3545

Merged
bernardhanna merged 1 commit into
devfrom
feature/support-gmail-poll-1min
May 19, 2026
Merged

chore(support): poll Gmail every 1 minute#3545
bernardhanna merged 1 commit into
devfrom
feature/support-gmail-poll-1min

Conversation

@bernardhanna
Copy link
Copy Markdown
Collaborator

Summary

  • Default support:gmail:poll interval: 1 minute (was 5)
  • Override in Forge: SUPPORT_GMAIL_POLL_INTERVAL_MINUTES=5 if needed

Why this is OK

  • Low-volume support mailbox
  • Redis lock ensures only one prod node polls per run
  • Faster APPROVE turnaround

Test plan

  • Merge to dev → master → deploy
  • Confirm scheduler runs poll within ~1 min of a test email

Made with Cursor

Make poll interval configurable via SUPPORT_GMAIL_POLL_INTERVAL_MINUTES
(default 1). Safe with the existing Redis poll lock on multi-server prod.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bernardhanna bernardhanna merged commit 2d0a340 into dev May 19, 2026
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.

1 participant