Skip to content

[dispatcher POC] Update DAB, use advisory lock from it #1173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ pyjwt = { version = "2.7.*", extras = ["crypto"] }
ecdsa = "0.18.*"
validators = "^0.34.0"
django-flags = "^5.0.13"
# dispatcher = { git = "git@github.com:ansible/dispatcher.git", branch = "main" }

[tool.poetry.group.test.dependencies]
pytest = "*"
Expand Down
2 changes: 1 addition & 1 deletion src/aap_eda/tasks/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from collections import Counter
from typing import Optional

from ansible_base.lib.utils.db import advisory_lock
from django.conf import settings
from django.core.exceptions import ObjectDoesNotExist

Expand All @@ -33,7 +34,6 @@
ActivationManager,
StatusManager,
)
from ansible_base.lib.utils.db import advisory_lock
from dispatcher.control import Control
from dispatcher.publish import task

Expand Down
2 changes: 1 addition & 1 deletion src/aap_eda/tasks/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

import logging

from ansible_base.lib.utils.db import advisory_lock
from django.conf import settings

from aap_eda.core import models
from aap_eda.services.project import ProjectImportError, ProjectImportService
from ansible_base.lib.utils.db import advisory_lock
from dispatcher.control import Control
from dispatcher.publish import task

Expand Down
Loading