Force add resources parallelism to 1 for some resource pools
This'll be the default in coming revisions of knots, and is neccessary for pools being used to share a single object.
This commit is contained in:
parent
8bce47dc69
commit
49f9aa4822
1 changed files with 2 additions and 0 deletions
|
|
@ -1885,6 +1885,7 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
|
||||||
db-conn)
|
db-conn)
|
||||||
1
|
1
|
||||||
#:destructor (const #t) ; TODO Remove
|
#:destructor (const #t) ; TODO Remove
|
||||||
|
#:add-resources-parallelism 1 ; TODO Remove
|
||||||
#:name "postgres"
|
#:name "postgres"
|
||||||
#:min-size 0))
|
#:min-size 0))
|
||||||
|
|
||||||
|
|
@ -2231,6 +2232,7 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
|
||||||
(const channel-instances-conn)
|
(const channel-instances-conn)
|
||||||
1
|
1
|
||||||
#:destructor (const #t) ; TODO Remove
|
#:destructor (const #t) ; TODO Remove
|
||||||
|
#:add-resources-parallelism 1 ; TODO Remove
|
||||||
#:name "postgres"
|
#:name "postgres"
|
||||||
#:min-size 0)))
|
#:min-size 0)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue