Fix function clause on auto_purge ttl = infinity

Fix function_clause when per-db values was not set and the default in config
was set to "infinity".

The clause is already covered by eunit tests it's just that now it logs should
show an function_clause error.
1 file changed