Skip to content

Commit

Permalink
Fix interval for WMStats DataCacheUpdate CherryPy thread
Browse files Browse the repository at this point in the history
  • Loading branch information
amaltaro committed Mar 7, 2024
1 parent e27578e commit 44c3f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/WMCore/WMStats/CherryPyThreads/DataCacheUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def setConcurrentTasks(self, config):
"""
sets the list of functions which
"""
self.concurrentTasks = [{'func': self.gatherActiveDataStats, 'duration': 300}]
self.concurrentTasks = [{'func': self.gatherActiveDataStats,
'duration': config.dataCacheUpdateDuration}]

def gatherActiveDataStats(self, config):
"""
Expand Down

0 comments on commit 44c3f6f

Please sign in to comment.