Merge "Stop using eventlet for action heartbeat threads"

This commit is contained in:
Zuul 2025-02-04 20:05:08 +00:00 committed by Gerrit Code Review
commit e08d3f8938
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
# limitations under the License.
import datetime
import eventlet
import threading
import time
from mistral import context as auth_ctx
@ -137,7 +137,7 @@ def start():
_stopped = False
eventlet.spawn_after(wait_time, _loop)
threading.Timer(wait_time, _loop).start()
def stop(graceful=False):

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import eventlet
import threading
import time
from oslo_config import cfg
@ -101,7 +101,7 @@ def start():
_stopped = False
eventlet.spawn(_loop)
threading.Thread(target=_loop).start()
def stop(graceful=False):