Remove outdated compatibility code
This commit is contained in:
parent
41ebf510cb
commit
33436f7eb6
1 changed files with 0 additions and 7 deletions
|
@ -12,13 +12,6 @@ def startupError(msg):
|
|||
|
||||
# Third party modules
|
||||
import gevent
|
||||
if gevent.version_info.major <= 1: # Workaround for random crash when libuv used with threads
|
||||
try:
|
||||
if "libev" not in str(gevent.config.loop):
|
||||
gevent.config.loop = "libev-cext"
|
||||
except Exception as err:
|
||||
startupError("Unable to switch gevent loop to libev: %s" % err)
|
||||
|
||||
import gevent.monkey
|
||||
gevent.monkey.patch_all(thread=False, subprocess=False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue