Rate limit trash monitor updates
@oholy
Submitted by Ondrej Holy Link to original bug (#792335)
Description
Trash monitor queries info from gvfsd-trash after each file monitor change which can be problematic when too many changes happen in a short time. Let's rate limit the number of queries...
I've already proposed a similar patch for Nautilus trash monitor: nautilus!57 (merged)
This is part of my effort to reduce CPU load during mass changes of mounts, see also: https://bugzilla.gnome.org/show_bug.cgi?id=792331