Skip to content

Conversation

@arpandhakal
Copy link
Collaborator

Issue

  • Autoresponder sending messages very late due to slow webhook invocation making it seem like autoresponder sending messages without being triggered by a client message.

Changes

  • created a hasTimeExceeded method which checks if the webhook's payload's createdAt timestamp is older than 60 seconds while auto responding.
  • If the webhook's payload's createdAt is older than 60 seconds, skipped the auto responding functionality.

…ebhook invocation making it seem like autoresponder sending messages without being triggered by a client message.

- created a hasTimeExceeded method which checks if the webhook's payload's createdAt timestamp is older than 60 seconds while auto responding.
- If the webhook's payload's createdAt is older than 60 seconds, skipped the auto responding functionality.
@arpandhakal arpandhakal requested a review from sajxraj August 4, 2025 06:58
@arpandhakal arpandhakal self-assigned this Aug 4, 2025
@linear
Copy link

linear bot commented Aug 4, 2025

@vercel
Copy link

vercel bot commented Aug 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auto-responder 🔄 Building (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 6:58am

@arpandhakal arpandhakal merged commit 2522cf3 into main Aug 4, 2025
3 checks passed
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