some fix
This commit is contained in:
1 parent
6b841dc5fa
commit
0ed677e5fc
10 files changed
+282
-16
No files matched your search
@@ -63,5 +63,10 @@ class NotificationJob(models.Model):
|
||||
delivery_checked_at=models.DateTimeField(null=True,blank=True)
|
||||
delivery_check_attempts=models.PositiveSmallIntegerField(default=0)
|
||||
delivery_next_check_at=models.DateTimeField(null=True,blank=True,db_index=True)
|
||||
delivery_is_final=models.BooleanField(default=False)
|
||||
delivery_retry_source=models.OneToOneField(
|
||||
"self",on_delete=models.CASCADE,null=True,blank=True,
|
||||
related_name="delivery_retry_job",
|
||||
)
|
||||
class Meta:
|
||||
indexes=[models.Index(fields=["status","next_attempt_at"],name="notif_due_idx"),models.Index(fields=["ticket","channel","status"],name="notif_ticket_chan_idx")]
|
||||
Reference in new issue
Block a user