Commit d6974b2e authored by Philipp Hörist's avatar Philipp Hörist
Browse files

TCP: Set read priority to low

PRIORITY_DEFAULT is used for example for X Server events or other UI
tasks. This should help to prefer UI events before network events.
parent ddfe6217
Pipeline #9409 failed with stages
in 29 seconds
......@@ -188,7 +188,7 @@ class TCPConnection(Connection):
self._con.get_input_stream().read_bytes_async(
READ_BUFFER_SIZE,
GLib.PRIORITY_DEFAULT,
GLib.PRIORITY_LOW,
self._read_cancellable,
self._on_read_async_finish,
None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment