Update src/io/rsm/rsm_client.hpp
Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com>
This commit is contained in:
parent
25713405df
commit
b288f06cb7
@ -94,7 +94,7 @@ class RsmClient {
|
|||||||
|
|
||||||
BasicResult<TimedOut, WriteResponseT> SendWriteRequest(WriteRequestT req) {
|
BasicResult<TimedOut, WriteResponseT> SendWriteRequest(WriteRequestT req) {
|
||||||
Notifier notifier;
|
Notifier notifier;
|
||||||
ReadinessToken readiness_token{0};
|
const ReadinessToken readiness_token{0};
|
||||||
SendAsyncWriteRequest(req, notifier, readiness_token);
|
SendAsyncWriteRequest(req, notifier, readiness_token);
|
||||||
auto poll_result = AwaitAsyncWriteRequest(readiness_token);
|
auto poll_result = AwaitAsyncWriteRequest(readiness_token);
|
||||||
while (!poll_result) {
|
while (!poll_result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user