Define TickerInterval instead of using magic number
Define TickerInterval instead of using magic number

Define TickerInterval as a variable, instead of a constant, so that it
will be configurable by the users, e.g.:

    leaktest.TickerInterval = time.Millisecond * 10
    defer leaktest.Check(t)()

fortytw2/leaktest