mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 22:07:36 -02:30
Use advisory_lock from DAB (#15676)
* Use advisory_lock from DAB * Remove the django-pglocks dep * Re-run updater script * Move the import in new location
This commit is contained in:
@@ -16,10 +16,12 @@ from rest_framework.exceptions import PermissionDenied
|
||||
import requests
|
||||
|
||||
from awx.conf.license import get_license
|
||||
|
||||
from ansible_base.lib.utils.db import advisory_lock
|
||||
|
||||
from awx.main.models import Job
|
||||
from awx.main.access import access_registry
|
||||
from awx.main.utils import get_awx_http_client_headers, set_environ, datetime_hook
|
||||
from awx.main.utils.pglock import advisory_lock
|
||||
|
||||
__all__ = ['register', 'gather', 'ship']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user