Reduce default broadcast expiry time to 4 hours

We don’t think we need to broadcast longer than this to validate that
the system is working.
This commit is contained in:
Chris Hill-Scott
2021-02-12 15:49:16 +00:00
parent 32e60ab507
commit 276644f504
2 changed files with 2 additions and 2 deletions

View File

@@ -220,7 +220,7 @@ class BroadcastMessage(JSONModel):
self._update(
starts_at=datetime.utcnow().isoformat(),
finishes_at=(
datetime.utcnow() + timedelta(hours=23, minutes=59)
datetime.utcnow() + timedelta(hours=4, minutes=0)
).isoformat(),
)
self._set_status_to('broadcasting')