Coverage for bookie.bcelery.celery : 85%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
msg = "Please set the BOOKIE_INI env variable!" raise Exception(msg)
path.dirname( path.dirname( path.dirname(__file__) ) ), selected_ini )
# Hold onto the ini config.
'bookie.bcelery', broker=INI.get('celery_broker'), include=['bookie.bcelery.tasks'])
# Optional configuration, see the application user guide. CELERY_TASK_RESULT_EXPIRES=3600, CELERY_RESULT_BACKEND=INI.get('celery_broker'), CELERYBEAT_SCHEDULE={ 'hourly_stats': { 'task': 'bookie.bcelery.tasks.hourly_stats', 'schedule': timedelta(seconds=60*60), }, 'fetch_unfetched': { 'task': 'bookie.bcelery.tasks.fetch_unfetched_bmark_content', 'schedule': timedelta(seconds=60), }, } )
celery.start() |