These findings suggest that IL-22 mediates early antifungal resistance, whereas IDO1 is required to restrain inflammation during ongoing infection and to provide antifungal memory. The gene discussed is IL22; the disease is infection.