diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-14 08:02:04 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-19 15:03:18 +0300 |
commit | a1912ccc894386b112faba2932f1dd98c03aea0e (patch) | |
tree | 82eee97163f1802be69cd5810fe04bec96ae2689 /app/models/container_repository.rb | |
parent | c6660e61b267dafe7e4f6ce2b4e38b644e7b2177 (diff) |
Delete container repository tags outside of transaction
When there are many tags in a container repository, deleting them
can exceed the default 60 second idle-in-transaction timeout in
Sidekiq. We now explicitly delete them in the DestroyService
before destroying the model.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51380
Diffstat (limited to 'app/models/container_repository.rb')
0 files changed, 0 insertions, 0 deletions