A king wants to hold a festival, for which he has 10 royal cakes. It is brought to his attention that one of these cakes is poisoned. If someone consumes any of the poisoned cakes they will pass away in exactly one month. The king has 3 servants who have volunteered their lives to test the cakes. What is the shortest amount of time in which the king can identify which cake is poisoned?