How does cache works?

Hi,

I’d like to understand how does SeaDrive cache manage purge when cache limit is reach.
I’ve a client where folder ~/.seafile/data is bigger that cache limit. So how does cleaning happen ?
What happen if user request to synch a folder bigger than cache limit ? Will SeaDrive stop downloading when limit is reach ? Will there be a notification somehow (log or notification) ?