database: Increase default repo batch size
Created by: ryanslade
We currently have ~400k default repos so this will reduce the number of round trips we need to make at the expense of increased memory usage.
We also initialise our slice using the value of our Limit clause as a hint.