Auto expire the build status and logs in redis

This commit is contained in:
Joseph Schorr 2016-06-20 11:51:30 -04:00
parent 6dd7fe21f9
commit 3b994431eb
2 changed files with 11 additions and 2 deletions

View file

@ -52,6 +52,7 @@ class ArchiveBuildLogsWorker(Worker):
to_update.logs_archived = True
to_update.save()
build_logs.expire_status(to_update.uuid)
build_logs.expire_log_entries(to_update.uuid)