Task model getTasksForSync should honor outbox send_after dates in query #152

Open
opened 2022-03-31 23:58:00 +02:00 by mikegioia · 0 comments
mikegioia commented 2022-03-31 23:58:00 +02:00 (Migrated from github.com)

Describe the bug
The task runner will loop over and over if a message is queued to send in the future. The task is skipped but it is still "active" and the system thinks there are more tasks. It loops until the message is ready to send.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
The query should look at any attached outbox message, and if there is a send_after date it should only query that task if that datetime is before now.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

**Describe the bug** The task runner will loop over and over if a message is queued to send in the future. The task is skipped but it is still "active" and the system thinks there are more tasks. It loops until the message is ready to send. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** The query should look at any attached outbox message, and if there is a send_after date it should only query that task if that datetime is before now. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No description provided.