move defaultBatchSize to requests file