Increase max commits in payload to 5

Changed max commits to a constant and increased it to 5; I thought 2 was too small.