If the array was cached we were not returning a new random array and some code was dependent on array[0] being a random element each call. Although not the most elegant solution for huge # of services -- it's certainly concise and "good enough" for anything normal (say 500 or less instances).
If the array was cached we were not returning a new random array and some code was dependent on array[0] being a random element each call. Although not the most elegant solution for huge # of services -- it's certainly concise and "good enough" for anything normal (say 500 or less instances).