mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 06:03:06 +00:00
cleanup
This commit is contained in:
parent
89f43f5e97
commit
b90eff2e12
@ -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()
|
||||
|
||||
|
||||
@ -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],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user