Keep the eggs warm for only a little while. Ideally, you should serve eggs shortly after preparing. The longer eggs sit over heat, the greater the chance that food-borne illnesses like salmonella will become a factor. Do not keep eggs warm any longer than a maximum two hours.