keyfilesettingsbackend: don't write keyfile to disk after every change
Submitted by Carl-Anton Ingmarsson
Assigned to Allison (desrt)
Link to original bug (#701476)
Description
GKeyfileSettingsBackend writes the keyfile to disk after every single change. This causes a lot of writes to happen if you set many settings after each other. To fix this I propose to only write the keyfile to disk after a small timeout (currently 5 seconds). I've attached two patches that implements this approach.