Skip to content

Commit

Permalink
Change GC time
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Mar 15, 2024
1 parent 914689b commit b78e21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eagleproject/scripts/gc.py
Expand Up @@ -11,7 +11,7 @@ def run():
# event_seen is time sensitive and old entries are irrelevant
try:
EventSeen.objects.filter(
last_seen__lt=datetime.utcnow() - timedelta(hours=24)
last_seen__lt=datetime.utcnow() - timedelta(minutes=59)
).delete()
except Exception:
log.exception(
Expand Down

0 comments on commit b78e21f

Please sign in to comment.