Skip to content
Snippets Groups Projects
Commit d5cc2333 authored by Romain Vimont's avatar Romain Vimont
Browse files

medialib: acquire priority access

During indexation, the medialibrary executes a lot of write SQL queries
from a background thread. As a consequence, requests initiated by VLC to
retrieve data to show in the UI are excessively delayed (see [1]).

These requests are not executed on the UI thread anymore (since [2]),
but it is still not acceptable to wait tens of seconds just to display
local data.

Therefore, a new priority access mechanism has been implemented in
medialibrary ([3]). Acquire this priority access for all Get and List
requests initiated from VLC.

[1]: videolan/vlc#22687 (comment 259820)
[2]: https://mailman.videolan.org/pipermail/vlc-devel/2020-November/140488.html
[3]: videolan/medialibrary!375
parent 3716a7da
No related branches found
No related tags found
Loading
Pipeline #104585 passed with stage
in 18 minutes and 26 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment