Skip to content

Commit 363e1da

Browse files
restore timeouts
1 parent bfeb8b2 commit 363e1da

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/async/test_admin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def with_instrumented_server(auth=False, **ikwargs):
2121
def decorator(f):
2222
@wraps(f)
2323
def wrapped(self, *args, **kwargs):
24-
sio = socketio.AsyncServer(async_mode='asgi', ping_interval=5,
25-
ping_timeout=4)
24+
sio = socketio.AsyncServer(async_mode='asgi')
2625

2726
@sio.event
2827
async def enter_room(sid, data):

tests/common/test_admin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def with_instrumented_server(auth=False, **ikwargs):
1818
def decorator(f):
1919
@wraps(f)
2020
def wrapped(self, *args, **kwargs):
21-
sio = socketio.Server(async_mode='threading', ping_interval=5,
22-
ping_timeout=4)
21+
sio = socketio.Server(async_mode='threading')
2322

2423
@sio.event
2524
def enter_room(sid, data):

0 commit comments

Comments
 (0)