Yesterday my car started hesitating at about 4500rpm, popping etc, so i reset the ecu, problem went away for about 15 miles of mixed driving.

.

.

now its come back.

.

.

I have reset it again and its ok

(its not my daily drive so its not urgent), but could this be a worn rotary cap? or need new spark plugs???