Ignore:
Timestamp:
Apr 5, 2020, 10:12:32 AM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
5518e0c
Parents:
be923cd
Message:
  • Added the celery beat start to the celery_worker script for development purposes
    • The periodic tasks are now registered in CeleryWorker.py, because the after_configure.connect method is currently not reliable
    • Fixed log_generate_tile_little_zoom task
    • Changed the crontab to execute the task once a month, due to the possible amount of slices
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/src/server_impl/Config.py

    rbe923cd r0200f6c  
    4747        # As format see https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html#crontab-schedules
    4848        # If TILES_ZOOM_RANGE['minimum'] = 10 it might need up to 4097 slice jobs per tile_size and density
    49         TILES_LITTLE_ZOOM_SCHEDULE = crontab(hour=11, minute=0) # execute daily at 3 a`clock
     49        TILES_LITTLE_ZOOM_SCHEDULE = crontab(0, 0, day_of_month='2') # execute every second day of each month
    5050        TILES_SKIP_EMPTY = True
    5151        # Maximum size of the raster files generated during tile process in bits
Note: See TracChangeset for help on using the changeset viewer.