Add a  'max blocks' config setting

To prevent tag-powered server crashes.