From 21b4162d5357cf5bfd1fb10f06aa25b8928b6334 Mon Sep 17 00:00:00 2001 From: Silvio Moioli Date: Mon, 15 May 2017 07:44:05 +0200 Subject: [PATCH] rest_cherrypy: remove sleep call --- salt/netapi/rest_cherrypy/app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/salt/netapi/rest_cherrypy/app.py b/salt/netapi/rest_cherrypy/app.py index 4ab8a743bf..a18bb72f60 100644 --- a/salt/netapi/rest_cherrypy/app.py +++ b/salt/netapi/rest_cherrypy/app.py @@ -465,7 +465,6 @@ import json import os import signal import tarfile -import time from multiprocessing import Process, Pipe # Import third-party libs @@ -2326,7 +2325,6 @@ class WebsocketEndpoint(object): logger.error( "Error: Salt event has non UTF-8 data:\n{0}" .format(data)) - time.sleep(0.1) parent_pipe, child_pipe = Pipe() handler.pipe = parent_pipe