mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
parent
83b72d762c
commit
a17ae316c7
@ -36,7 +36,7 @@ if sys.platform.startswith("win"):
|
|||||||
import asyncio
|
import asyncio
|
||||||
# use the Proactor event loop on Windows
|
# use the Proactor event loop on Windows
|
||||||
loop = asyncio.ProactorEventLoop()
|
loop = asyncio.ProactorEventLoop()
|
||||||
|
asyncio.set_event_loop(loop)
|
||||||
|
|
||||||
|
|
||||||
def daemonize():
|
def daemonize():
|
||||||
|
@ -267,7 +267,6 @@ class WebServer:
|
|||||||
def wakeup():
|
def wakeup():
|
||||||
loop.call_later(0.5, wakeup)
|
loop.call_later(0.5, wakeup)
|
||||||
loop.call_later(0.5, wakeup)
|
loop.call_later(0.5, wakeup)
|
||||||
asyncio.set_event_loop(loop)
|
|
||||||
|
|
||||||
server_config = Config.instance().get_section_config("Server")
|
server_config = Config.instance().get_section_config("Server")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user