Skip to content
Commit 44a5f089 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

fix(kded): move to kdirwatch to reduce inotify footprint

Each QFileSystemWatch claims its own inotify instance. This is
problematic because there is a default limit of 127 instances per user,
fivolously claiming instances is therefore really poor behavior.

KDirWatch meanwhile shares the same underlying instance behind the scene
so each thread would only have a single instance with N different
watches on it.

Moving to KDW effectively reduces the inotify instance footprint of the
kded module from N per Control to 0 since kded always has a kdirwatch
for ksyscoca/kservice monitoring and our KDW is backed by the same
instance.

CCBUG: 423818


(cherry picked from commit 7223eaa5)
parent 70983278
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