mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-04 06:33:11 +00:00
queryLocks can be done at FsDs backend level
This commit is contained in:
parent
d1f503fa96
commit
6a4e460e58
@ -376,8 +376,5 @@ proc new*[DB](self: type ThreadDatastore,
|
|||||||
success ThreadDatastore(
|
success ThreadDatastore(
|
||||||
tp: tp,
|
tp: tp,
|
||||||
backend: backend,
|
backend: backend,
|
||||||
# TODO: are these needed anymore??
|
|
||||||
# withLocks: withLocks,
|
|
||||||
# queryLock: newAsyncLock(),
|
|
||||||
semaphore: AsyncSemaphore.new(tp.numThreads - 1)
|
semaphore: AsyncSemaphore.new(tp.numThreads - 1)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user