Eventlet removal
Change-Id: I158cb785ca4d3f273ab3ad92775b8e181e23872e
This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
|
||||
import abc
|
||||
import threading
|
||||
|
||||
import eventlet
|
||||
import time
|
||||
|
||||
from oslo_log import log as logging
|
||||
LOG = logging.getLogger(__name__)
|
||||
@@ -75,7 +74,7 @@ class MonitoringJob(object, metaclass=abc.ABCMeta):
|
||||
)
|
||||
|
||||
if self._was_executed:
|
||||
eventlet.sleep(self._interval)
|
||||
time.sleep(self._interval)
|
||||
|
||||
try:
|
||||
self._was_executed = True
|
||||
|
||||
Reference in New Issue
Block a user