You hit a bird at 30k feet and you've got plenty of options - including the second engine.
The problem is ingesting a whole flock. Turbofans are designed to fling debris (rain, hail, gravel, birds) out to the bypass via centrifugal force. However, too much material (or insufficient thrust) causes the impeller to bog down, so more junk gets sucked into the burn chamber, which can cause a flameout.