This commit is contained in:
Jaremy Creechley 2023-08-28 17:28:14 -07:00 committed by Dmitriy Ryajov
parent 89f43f5e97
commit b90eff2e12
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
2 changed files with 2 additions and 4 deletions

View File

@ -83,7 +83,6 @@ method put*(
echo "\nSharedDataStore:put:value: ", ret[].repr
return success()
method put*(
self: SharedDatastore,
batch: seq[BatchEntry]
@ -93,7 +92,6 @@ method put*(
method close*(
self: SharedDatastore
): Future[?!void] {.async.} =
# TODO: how to handle failed close?
return success()

View File

@ -108,7 +108,7 @@ proc startupDatastore(
else:
discard
echo "startupDatastore: signal", ret[].signal.fireSync().get()
print "startupDatastore: signal", ret[].signal.fireSync()
proc getTask*(
ret: TResult[DataBuffer],
@ -123,7 +123,7 @@ proc getTask*(
ret[].state = Success
ret[].value = data
print "thrbackend: putTask: fire", ret[].signal.fireSync().get()
print "thrbackend: putTask: fire", ret[].signal.fireSync()
proc get*(
ret: TResult[DataBuffer],