Added server arg to set event payload size