mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
* [2.5/4.6 Backport] AAP-40782 Reduce queued stuck jobs * [2.5/4.6 Backport] AAP-40782 Reduce queued stuck jobs * Incrp'd review feedback from @AlanCoding * Reformatted 4 files per CI-check for api-linters
16 lines
258 B
Python
16 lines
258 B
Python
#!/usr/bin/env python
|
|
|
|
from django import setup
|
|
|
|
from awx import prepare_env
|
|
|
|
prepare_env()
|
|
|
|
setup()
|
|
|
|
# Keeping this in test folder allows it to be importable
|
|
from awx.main.tests.data.sleep_task import sleep_task
|
|
|
|
|
|
for i in range(634):
|
|
sleep_task.delay() |