kopia lustrzana https://github.com/cirospaciari/socketify.py
fix high cpu consumption in idle mode, update idle_relaxation_time back to 0.01 (#198)
rodzic
63b1546bbb
commit
226ae66f6d
|
@ -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 *")
|
||||
|
|
Ładowanie…
Reference in New Issue