mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[FIX] runbot: append a tuple in git gc command list
This commit is contained in:
parent
d661fd9fb4
commit
f26065c4dc
@ -115,7 +115,7 @@ class RunbotClient():
|
||||
commands = []
|
||||
host_name = self.host.name
|
||||
for repo in self.env['runbot.repo'].search([]):
|
||||
commands.append(repo.name, (repo._get_git_command(['gc', '--prune=all', '--quiet'])))
|
||||
commands.append((repo.name, repo._get_git_command(['gc', '--prune=all', '--quiet'])))
|
||||
self.env.cr.rollback()
|
||||
# gc commands can be slow, rollbacking to avoid to keep a transaction idle for multiple minutes.
|
||||
messages = []
|
||||
|
Loading…
Reference in New Issue
Block a user