Auto expire the build status and logs in redis
This commit is contained in:
parent
6dd7fe21f9
commit
3b994431eb
2 changed files with 11 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Reference in a new issue