mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +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 = []
|
commands = []
|
||||||
host_name = self.host.name
|
host_name = self.host.name
|
||||||
for repo in self.env['runbot.repo'].search([]):
|
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()
|
self.env.cr.rollback()
|
||||||
# gc commands can be slow, rollbacking to avoid to keep a transaction idle for multiple minutes.
|
# gc commands can be slow, rollbacking to avoid to keep a transaction idle for multiple minutes.
|
||||||
messages = []
|
messages = []
|
||||||
|
Loading…
Reference in New Issue
Block a user