mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
7491000a13
json.dumps is a processing intensive operation. This is being called every time data is received from the server (most noticeably during library updates) for debug logging. If the user has debug logging disabled (the default option) then the user is still paying for processing which is discarded. The fix is to add a level of indirection where the dumps function is only called if a string representation of the json is requested; ie. when the debug string is evaluated. |
||
---|---|---|
.. | ||
__init__.py | ||
api.py | ||
client.py | ||
configuration.py | ||
connection_manager.py | ||
credentials.py | ||
exceptions.py | ||
http.py | ||
websocket.py | ||
ws_client.py |