IL-1β is required for the early containment of infection via priming of T cell activation. Here, IL1B is linked to infection.