Skip to content
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

feat(sn_networking): use wasm compatible retry #2387

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

b-zee
Copy link
Contributor

@b-zee b-zee commented Nov 5, 2024

Previously the backoff crate was used which is not compatible with wasm and futures (though the docs suggest there is compatibility, but that seems to be without futures).

The retry strategy is adjusted, but I have attempted to keep the end result similar if not the same.


})
}).await
// FIXME: Skip if we get a permanent error during verification, e.g., DoubleSpendAttempt

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
Previously the `backoff` crate was used which is not compatible with
wasm and futures (though the docs suggest there is compatibility,
but that seems to be without futures).

The retry strategy is adjusted, but I have attempted to keep the end
result similar if not the same.
@b-zee b-zee removed the DoNotMerge label Nov 6, 2024
@b-zee b-zee enabled auto-merge November 7, 2024 13:20
@b-zee b-zee added this pull request to the merge queue Nov 8, 2024
Merged via the queue into maidsafe:main with commit 106f9be Nov 8, 2024
28 checks passed
@b-zee b-zee deleted the feat-wasm-compatible-retry branch November 8, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants