maximum engine temp

i got some bad gas on the way back from Carlisle this past weekend and that along with the temp and I was getting detonation