Skip to content

Commit 3606a09

Browse files
committed
qos fast server scripts: remove test code.
1 parent a22eb6a commit 3606a09

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

iot/qos/s_qos_cp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ async def writer(self):
7878
await asyncio.sleep(5)
7979

8080
async def main():
81-
loop = asyncio.get_event_loop() # TEST
82-
loop.set_exception_handler(_handle_exception) # TEST
8381
app = App('qos')
8482
await server.run({'qos'}, True, port=PORT, timeout=TIMEOUT)
8583

iot/qos/s_qos_fast.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ async def writer(self):
8282
await asyncio.sleep(3.95)
8383

8484
async def main():
85-
loop = asyncio.get_event_loop() # TEST
86-
loop.set_exception_handler(_handle_exception) # TEST
8785
app = App('qos')
88-
await server.run({'qos'}, True, port=PORT, timeout=TIMEOUT)
86+
await server/.run({'qos'}, True, port=PORT, timeout=TIMEOUT)
8987

9088
def run():
9189
try:

0 commit comments

Comments
 (0)