Skip to content

Commit

Permalink
Better UI
Browse files Browse the repository at this point in the history
  • Loading branch information
titodalcanton committed Aug 1, 2024
1 parent 1be8353 commit 3f3ce53
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pycbc/events/coinc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1406,14 +1406,17 @@ def start_refresh_thread(self):
Start a thread managing whether the stat_calculator will be updated
"""
if self.statistic_refresh_rate is None:
logger.info(
"Statistic refresh disabled for %s", ppdets(self.ifos, "-")
)
return
thread = threading.Thread(
target=self.refresh_statistic,
daemon=True
daemon=True,
name="Stat refresh " + ppdets(self.ifos, "-")
)
logger.info(
"Starting %s statistic refresh thread",
''.join(self.ifos),
"Starting %s statistic refresh thread", ppdets(self.ifos, "-")
)
thread.start()

Expand Down

0 comments on commit 3f3ce53

Please sign in to comment.