fix(celery): fixed issue with repo creation tasks that could hide exceptions
This commit is contained in:
parent
cd01bbbddd
commit
e9a3cf8c29
1 changed files with 2 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ def get_mailer(transformed_email_conf: dict[str, Any], original_email_conf: dict
|
||||||
return Mailer(**transformed_email_conf)
|
return Mailer(**transformed_email_conf)
|
||||||
|
|
||||||
|
|
||||||
@async_task(ignore_result=True, base=RequestContextAndUniqueByPayloadTask)
|
@async_task(ignore_result=False, base=RequestContextAndUniqueByPayloadTask)
|
||||||
def create_repo(form_data, cur_user):
|
def create_repo(form_data, cur_user):
|
||||||
from rhodecode.model.repo import RepoModel
|
from rhodecode.model.repo import RepoModel
|
||||||
from rhodecode.model.user import UserModel
|
from rhodecode.model.user import UserModel
|
||||||
|
|
@ -300,7 +300,7 @@ def create_repo(form_data, cur_user):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
@async_task(ignore_result=True, base=RequestContextAndUniqueByPayloadTask)
|
@async_task(ignore_result=False, base=RequestContextAndUniqueByPayloadTask)
|
||||||
def create_repo_fork(form_data, cur_user):
|
def create_repo_fork(form_data, cur_user):
|
||||||
"""
|
"""
|
||||||
Creates a fork of repository using internal VCS methods
|
Creates a fork of repository using internal VCS methods
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue