create directories for new users
- use new file tasks to create SFTP and mail base directories for users - use json serializer as default - remove TaskResult classes that don't provide any significant benefit
This commit is contained in:
parent
2428a39f19
commit
0b6ac2a478
4 changed files with 72 additions and 212 deletions
|
@ -282,9 +282,9 @@ CELERY_ROUTES = (
|
|||
'osusers.tasks.LdapRouter',
|
||||
'osusers.tasks.FileRouter',
|
||||
)
|
||||
CELERY_ACCEPT_CONTENT = ['yaml']
|
||||
CELERY_TASK_SERIALIZER = 'yaml'
|
||||
CELERY_RESULT_SERIALIZER = 'yaml'
|
||||
CELERY_ACCEPT_CONTENT = ['pickle', 'yaml', 'json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_RESULT_SERIALIZER = 'json'
|
||||
########## END CELERY CONFIGURATION
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue