-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re-start restoration workers when restarting the application #486
Conversation
@@ -753,7 +753,7 @@ locateErrors residue len | |||
let p1 = (l_s1 - l_s0 + 1023) `mod` 1023 in | |||
if (p1 >= len) then [] else | |||
let l_e1 = l_s0 + (1023 - 997) * p1 in | |||
if (l_e1 `mod` 33 > 0) then [] else [p1] | |||
[p1 | l_e1 `mod` 33 <= 0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a bit unrelated but it seems that hlint
had an update in our CI :|
Perhaps any test would be handy? |
ah, ok - just read the comment in description...
|
Maybe just looking at the logs after restarting the server? (similarly to logging tests in #474 ) |
deab077
to
808f520
Compare
@@ -711,6 +714,22 @@ tearDown ctx = do | |||
Left e -> error $ "deleteAllWallets: Cannot return wallets: " <> show e | |||
Right s -> s | |||
|
|||
-- | Wait a booting wallet server to has started. Wait up to 30s or fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait a booting wallet server to has started (or to has started)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aaaah. Damn. I clicked merge too fast 🤦♂️
I'll fix in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
(only a small typo in comment)
Issue Number
#484
Overview
Comments
I have not yet find a nice & easy way to test this 🤔 ...