mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 05:15:45 +07:00
[REV] runbot: Avoid infinite loop fetching"
This reverts commit 1207daded1
.
A too quick review, setting a default value is a good idea but since field is a float now,
default value should be time.time
This commit is contained in:
parent
3308829e80
commit
5b12f37c74
@ -44,7 +44,7 @@ class runbot_repo(models.Model):
|
|||||||
('hook', 'Hook')],
|
('hook', 'Hook')],
|
||||||
default='poll',
|
default='poll',
|
||||||
string="Mode", required=True, help="hook: Wait for webhook on /runbot/hook/<id> i.e. github push event")
|
string="Mode", required=True, help="hook: Wait for webhook on /runbot/hook/<id> i.e. github push event")
|
||||||
hook_time = fields.Datetime('Last hook time', default=fields.Datetime.now)
|
hook_time = fields.Float('Last hook time')
|
||||||
get_ref_time = fields.Float('Last refs db update')
|
get_ref_time = fields.Float('Last refs db update')
|
||||||
duplicate_id = fields.Many2one('runbot.repo', 'Duplicate repo', help='Repository for finding duplicate builds')
|
duplicate_id = fields.Many2one('runbot.repo', 'Duplicate repo', help='Repository for finding duplicate builds')
|
||||||
modules = fields.Char("Modules to install", help="Comma-separated list of modules to install and test.")
|
modules = fields.Char("Modules to install", help="Comma-separated list of modules to install and test.")
|
||||||
|
Loading…
Reference in New Issue
Block a user