Timing does not affect dieseling much. Proper adjustments of the carburetor, raising the octane of the fuel and decarbonizing the combustion chambers to remove any potential hotpots causing spontaneous ignition are the proper solutions, depending on the basic cause.