Skip to content

Conversation

@sujanadiga
Copy link
Collaborator

@sujanadiga sujanadiga commented Jul 4, 2024

Changes:

  • Add base for polling from SQS
  • Update task_execs in DB
  • Send notifications if applicable

messageId, message, err := dao.Queue.Dequeue(ctx, NotifierQueueName, 30)
if err != nil {
dao.Logger.Error("Dequeue failed", zap.Error(err))
continue // Continue to retry
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to put a limit on this in future

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.

3 participants