Showing results for November 7, 2005 - The Old New Thing

Nov 7, 2005
Post comments count0
Post likes count0

Take it easy on the automatic retries

Raymond Chen
Raymond Chen

When I saw a discussion of how to simulate retry via try/catch, using as inspiration a Ruby function that retried a network operation three times before finally giving up, I felt the need to caution against automatic retry. Your natural inclination when faced with a failure that has a good chance of being caused by a transient condition is to re...

Code