graysky2/profile-sync-daemon — pull request #3 by StuntsPT (2012-07-15 23:27:45+00:00)
Title: Feature add

First of all, thanks for building such a cool daemon.
So here is why I created this patch:.
In my netbook, the profile sync (firefox only) takes a long time, despite the browser's cache being small (maxed at 35Mb).
However, this file - urlclassifiers3.sqlite is huge at 55Mb after a VACUUM operation.
According to [this](http://forums.mozillazine.org/viewtopic.php?t=661382), this file is a database of malicious sites which is downloaded from google every time the browser is started.
This means that this huge file is not being used very often, thus it's use on a ramFS is limited. However it significantly increases the sync times during both startup and (especially) shutdown.

As for what it does:
If the browser is mozilla, then it adds an exception to the sync process - urlclassifiers3.sqlite.
This significantly reduces sync times and doesn't defeat the purpose of PSD.

Thank you for considering it.
I have tried to mimic your coding style to the extent of my (albeit somewhat limited) abilities in bash.