Skip to content

Commit

Permalink
Check for status update for shifts that are settling
Browse files Browse the repository at this point in the history
  • Loading branch information
joemarct committed May 14, 2024
1 parent 2ce04e4 commit 0e9061b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramp/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def update_shift_status(self):

logger.info('CHECKING FOR EXPIRED SHIFTS')
# get waiting
qs = Shift.objects.filter(shift_status='waiting')
qs = Shift.objects.filter(shift_status__in=['waiting', 'settling'])

for shift in qs:
shift_id = shift.shift_id
Expand Down

0 comments on commit 0e9061b

Please sign in to comment.