File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,9 +152,7 @@ def __init__(self, conf):
152
152
super (MagnumPeriodicTasks , self ).__init__ (conf )
153
153
self .notifier = rpc .get_notifier ()
154
154
155
- @periodic_task .periodic_task (
156
- spacing = CONF .kubernetes .health_polling_interval ,
157
- run_immediately = True )
155
+ @periodic_task .periodic_task (spacing = 10 , run_immediately = True )
158
156
@set_context
159
157
def sync_cluster_status (self , ctx ):
160
158
try :
@@ -184,7 +182,9 @@ def sync_cluster_status(self, ctx):
184
182
"Ignore error [%s] when syncing up cluster status." ,
185
183
e , exc_info = True )
186
184
187
- @periodic_task .periodic_task (spacing = 10 , run_immediately = True )
185
+ @periodic_task .periodic_task (
186
+ spacing = CONF .kubernetes .health_polling_interval ,
187
+ run_immediately = True )
188
188
@set_context
189
189
def sync_cluster_health_status (self , ctx ):
190
190
try :
You can’t perform that action at this time.
0 commit comments