Coverage for portality / tasks / consumer_scheduled_long_queue.py: 100%
10 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-04 09:41 +0100
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-04 09:41 +0100
1# NOTE: this file is designed to be imported by Huey, the background job processor
2# It changes the logging configuration. If it's imported anywhere else in the app,
3# it will change the logging configuration for the entire app.
4import logging
6logging.getLogger("requests").setLevel(logging.WARNING)
7logging.getLogger("urllib3").setLevel(logging.WARNING)
9# import the queues
10from portality.tasks.redis_huey import scheduled_long_queue # noqa
13from portality.tasks.anon_export import scheduled_anon_export, anon_export # noqa
14from portality.tasks.article_cleanup_sync import scheduled_article_cleanup_sync, article_cleanup_sync # noqa
15from portality.tasks.harvester import scheduled_harvest # noqa
16from portality.tasks.public_data_dump import scheduled_public_data_dump, public_data_dump # noqa
17from portality.tasks.sitemap import scheduled_sitemap, generate_sitemap # noqa
18from portality.tasks.ris_export import scheduled_ris_export, ris_export