Initial commit to support staging file background image generation and caching.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -93,6 +93,10 @@ class SourcesApp(MayanAppConfig):
|
||||
Queue(
|
||||
'sources', Exchange('sources'), routing_key='sources'
|
||||
),
|
||||
Queue(
|
||||
'sources_fast', Exchange('sources_fast'),
|
||||
routing_key='sources_fast', delivery_mode=1
|
||||
),
|
||||
Queue(
|
||||
'sources_periodic', Exchange('sources_periodic'),
|
||||
routing_key='sources_periodic', delivery_mode=1
|
||||
@@ -105,6 +109,9 @@ class SourcesApp(MayanAppConfig):
|
||||
'sources.tasks.task_check_interval_source': {
|
||||
'queue': 'sources_periodic'
|
||||
},
|
||||
'sources.tasks.task_generate_staging_file_image': {
|
||||
'queue': 'sources_fast'
|
||||
},
|
||||
'sources.tasks.task_source_handle_upload': {
|
||||
'queue': 'sources'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user