[minor] don't use Long.MAX_VALUE for minDuration default value

it's causing problems with jackson deserialization
[stats] file storage period is 5 minutes by default
[stats] implement stats sharing