diff options
author | Mark McLoughlin <markmc@redhat.com> | 2013-01-08 09:10:21 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-01-09 22:09:17 +0000 |
commit | d8c80c6b14c29dbea21ce045adce82ac92708fa3 (patch) | |
tree | 3da0d4998e3f2a2da2b00c2e072333050f0d14cc /nova/service.py | |
parent | 780ee742328a476a96e1d5011024902a7e01d33b (diff) | |
download | nova-d8c80c6b14c29dbea21ce045adce82ac92708fa3.tar.gz nova-d8c80c6b14c29dbea21ce045adce82ac92708fa3.tar.xz nova-d8c80c6b14c29dbea21ce045adce82ac92708fa3.zip |
Move service_down_time to nova.service
blueprint: scope-config-opts
Change-Id: I5fddb3768348c43a38b72dbf738b0c7fa2967691
Diffstat (limited to 'nova/service.py')
-rw-r--r-- | nova/service.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/service.py b/nova/service.py index fb322b19a..4418b0840 100644 --- a/nova/service.py +++ b/nova/service.py @@ -105,6 +105,9 @@ service_opts = [ cfg.StrOpt('scheduler_manager', default='nova.scheduler.manager.SchedulerManager', help='full class name for the Manager for scheduler'), + cfg.IntOpt('service_down_time', + default=60, + help='maximum time since last check-in for up service'), ] CONF = cfg.CONF |