clair/database
Quentin Machu 7f1ff8f979 database: reduce InsertPackages transaction
Inserting packages in a single transaction does not actually buy us anything as we often delete quads during an insertion and thus, Cayley could not use COPY and do a single round-trip. Inserting multiple packages in a single transaction actually creates deadlocks when a transaction tries to insert (A,B) and another one tries to insert (B,A).
2015-11-13 18:06:01 -05:00
..
database_test.go Initial commit 2015-11-13 14:11:28 -05:00
database.go Initial commit 2015-11-13 14:11:28 -05:00
flag_test.go Initial commit 2015-11-13 14:11:28 -05:00
flag.go Initial commit 2015-11-13 14:11:28 -05:00
layer_test.go Initial commit 2015-11-13 14:11:28 -05:00
layer.go Initial commit 2015-11-13 14:11:28 -05:00
lock_test.go Initial commit 2015-11-13 14:11:28 -05:00
lock.go Initial commit 2015-11-13 14:11:28 -05:00
notification_test.go Initial commit 2015-11-13 14:11:28 -05:00
notification.go Initial commit 2015-11-13 14:11:28 -05:00
os_mapping.go Initial commit 2015-11-13 14:11:28 -05:00
package_test.go Initial commit 2015-11-13 14:11:28 -05:00
package.go database: reduce InsertPackages transaction 2015-11-13 18:06:01 -05:00
requests.go Initial commit 2015-11-13 14:11:28 -05:00
vulnerability_test.go Initial commit 2015-11-13 14:11:28 -05:00
vulnerability.go Initial commit 2015-11-13 14:11:28 -05:00