mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Revert "CLOUDSTACK-7566:Many jobs getting stuck in pending state and cloud is unusable."
This reverts commit 6df38427cffe9cab5a2a842571941a97a3a07b52.
This commit is contained in:
parent
fac7bfc5d5
commit
835abe6c7c
@ -255,12 +255,9 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
|
||||
s_logger.debug("Publish async job-" + jobId + " complete on message bus");
|
||||
}
|
||||
|
||||
publishOnEventBus(job, "complete"); // publish before the instance type and ID are wiped out
|
||||
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Wake up jobs related to job-" + jobId);
|
||||
}
|
||||
|
||||
List<Long> wakeupList = Transaction.execute(new TransactionCallback<List<Long>>() {
|
||||
@Override
|
||||
public List<Long> doInTransaction(TransactionStatus status) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user