Code review comment for lp:~vikoadi/pantheon-files/fix-1041633

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I can't tell from the code if it deletes the thumbnail on every file change. If so, we've tried that approach already and gave up on it because it yeilds 100% CPU load on continuously written files (e.g. large downloads).

Instead, inotify provides a "close_write" event, which is emitted when *closing* a file that was written to. Please use such an event instead.

review: Needs Information

« Back to merge proposal