You should do a conditional sleep method instead of a static reference of such high random numbers. Just think if you only have 7 pizzas left to make, you're going to be sleeping that entire time still.
You should do a conditional sleep method instead of a static reference of such high random numbers. Just think if you only have 7 pizzas left to make, you're going to be sleeping that entire time still.