adds max runtime setting to workers