databendlabs / openraft

rust raft with improvements
Apache License 2.0
1.41k stars 158 forks source link

Refactor: replace tokio oneshot with the one configured #1204

Closed SteveLauC closed 4 months ago

SteveLauC commented 4 months ago

What does this PR do

Replace the usage of tokio::sync::oneshot with the one configured in RaftTypeConfig.

Checklist


This change is Reviewable