mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-07 16:13:07 +00:00
test query
This commit is contained in:
parent
a4c3574ff2
commit
6c95c29267
@ -274,7 +274,7 @@ proc queryTask[DB](
|
||||
for item in handle.iter():
|
||||
# wait for next request from async thread
|
||||
echo "\tqueryTask:query:iter:wait! "
|
||||
discard ctx[].signal.waitSync().get()
|
||||
discard nextSignal.waitSync().get()
|
||||
|
||||
echo "\tqueryTask:query:iter:wait:done "
|
||||
if ctx[].cancelled:
|
||||
@ -344,7 +344,7 @@ method query*(
|
||||
echo "query:next:iter:dispatch"
|
||||
await ctx[].signal.fire()
|
||||
echo "query:next:iter:dispatch:wait"
|
||||
await wait(ctx[].signal)
|
||||
await wait(nextSignal)
|
||||
|
||||
echo "query:next:iter:res: ", ctx[].res
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user