It will take up to 2 hours (at room temperature) for the cake to cool completely. Cooling the cake will allow the glaze to adhere to the cake, and not melt and run off.