spinSql

Execute an SQL query until it succeeds.

Note: If there are any errors in the query it will go into an infinite loop.

  1. auto spinSql(Duration timeout, Duration minTime, Duration maxTime)
    spinSql
    (
    alias query
    alias logFn = logger.warning
    )
    (
    Duration timeout
    ,
    Duration minTime = 50.dur!"msecs"
    ,
    Duration maxTime = 150.dur!"msecs"
    )
  2. auto spinSql()

Meta