Retry Thresholds

Both globally and on a per request basis you can set a retry threshold that once a function/promise has reached that threshold the next request will run the promise again. You can set the default value with settings or including it in your policy.

import Gorgon from '@gorgonjs/gorgon';

Gorgon.settings({retry: 5000}); // 5 Seconds (default)