def getMaxEventBatchSize(self):
    if self.has_option('daemon', 'max_event_batch_size'):
        return self.getint('daemon', 'max_event_batch_size')
    return 500
def getMaxEventBatchSize(self):
    if self.has_option('daemon', 'max_event_batch_size'):
        return self.getint('daemon', 'max_event_batch_size')
    return 500