mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-06 07:33:10 +00:00
fixups
This commit is contained in:
parent
6e39b2234a
commit
50b0c6ec11
@ -211,7 +211,7 @@ proc newThreadProxyDatastore*(
|
||||
|
||||
try:
|
||||
value[].ds = ds
|
||||
value[].tp = Taskpool.new(num_threads = 2)
|
||||
value[].tp = Taskpool.new(num_threads = 6)
|
||||
except Exception as exc:
|
||||
return err((ref DatastoreError)(msg: exc.msg))
|
||||
|
||||
|
||||
@ -103,4 +103,3 @@ proc wait*(sig: SharedSignal): Future[void] =
|
||||
|
||||
proc fireSync*(sig: SharedSignal): Result[bool, string] =
|
||||
sig[].sigptr.fireSync()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user