Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion collectoss/tasks/init/celery_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def setup_periodic_tasks(sender, **kwargs):

mat_views_interval = int(config.get_value('Celery', 'refresh_materialized_views_interval_in_days'))
if mat_views_interval > 0:
logger.info(f"Scheduling refresh materialized view every night at 1am CDT")
logger.info(f"Scheduling refresh materialized view every {mat_views_interval} days (interval starts relative to Augur process start, not a fixed time)")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Augur is the name of an older predecessor to this project, CollectOSS is the current name.

That said, I would suggest removing the name entirely as way to resolve this - potentially by reducing the verbosity of the language to just say "N days relative to program start"

sender.add_periodic_task(datetime.timedelta(days=mat_views_interval), refresh_materialized_views.s())
else:
logger.info(f"Refresh materialized view task is disabled.")
Expand Down