CE/improve runs

I previously had it like that but you said you preferred injecting it - let
me know what you'd like to do...

On Mon, Nov 3, 2014 at 4:31 PM, Fabian <notifications@github.com> wrote:

> In RandomRun/Run.m:
>
> >                                            run.routes = routes;
> > -                                          completion(run);
> > -                                      } else {
> > -                                          completion(nil);
> > -                                      }
> > -                                  }];
> > +
> > +                                          if (run.error < minErrorRun.error) {
> > +                                              minErrorRun.routes = routes;
> > +                                          }
> > +
> > +                                          if ([run lengthIsWithinTolerance:0.20]) {
>
> Should we pull this out as a constant and call it retryTolerance or
> something like that?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mojotech/random-run/pull/5/files#r19766539>.
>