fix high cpu consumption in idle mode, update idle_relaxation_time back to 0.01

pull/198/head
Carlos Sousa 2024-09-27 19:52:24 -03:00
rodzic 63b1546bbb
commit afac6d561d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2617,7 +2617,7 @@ class App:
websocket_factory_max_items=0,
task_factory_max_items=100_000,
lifespan=True,
idle_relaxation_time=0,
idle_relaxation_time=0.01,
):
socket_options_ptr = ffi.new("struct us_socket_context_options_t *")