mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-24 00:33:11 +00:00
fix linting
This commit is contained in:
parent
c9e9be7862
commit
0de176eb7e
@ -13,9 +13,7 @@ proc new*(T: type RetryStrategy): RetryStrategy =
|
||||
return RetryStrategy(retryDelay: DefaultRetryDelay, retryCount: DefaultRetryCount)
|
||||
|
||||
proc retryWrapper*[T](
|
||||
retryStrategy: RetryStrategy,
|
||||
errStr: string,
|
||||
body: proc(): Future[T] {.async.},
|
||||
retryStrategy: RetryStrategy, errStr: string, body: proc(): Future[T] {.async.}
|
||||
): Future[Result[T, string]] {.async.} =
|
||||
var retryCount = retryStrategy.retryCount
|
||||
var lastError = ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user