MAX_SLAVE_INSTANCES
timer->max_instances = MAX_SLAVE_INSTANCES;
if (num_slaves >= MAX_SLAVE_INSTANCES) {