DirectoryList.setIoPriority

void setIoPriority(int ioPriority)

Sets the IO priority to use while loading directories.

Setting the priority while self is loading will reprioritize the ongoing load as soon as possible.

The default IO priority is glib.types.PRIORITY_DEFAULT, which is higher than the GTK redraw priority. If you are loading a lot of directories in parallel, lowering it to something like glib.types.PRIORITY_DEFAULT_IDLE may increase responsiveness.

Parameters

ioPriorityIO priority to use