feat(celery-hooks): added all needed changes to support new celery backend, removed DummyHooksCallbackDaemon, updated tests. Fixes: RCCE-55

This commit is contained in:
Serhii Ilin 2024-02-12 11:38:03 +02:00
parent 29153b508c
commit 86bc980004
12 changed files with 104 additions and 95 deletions

View file

@ -982,8 +982,7 @@ class PullRequestModel(BaseModel):
callback_daemon, extras = prepare_callback_daemon(
extras, protocol=vcs_settings.HOOKS_PROTOCOL,
host=vcs_settings.HOOKS_HOST,
use_direct_calls=vcs_settings.HOOKS_DIRECT_CALLS)
host=vcs_settings.HOOKS_HOST)
with callback_daemon:
# TODO: johbo: Implement a clean way to run a config_override