mirror of
https://github.com/harness/drone.git
synced 2025-05-10 05:01:41 +08:00
fix: [AH-585]: add index to improve query performance found during load testing (#2982)
* fix: [AH-585]: add index to improve query performance found during load testing
This commit is contained in:
parent
92bea1dfbf
commit
edf01c5a9b
@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS index_gc_manifest_review_queue2;
|
@ -0,0 +1,2 @@
|
||||
CREATE INDEX IF NOT EXISTS index_gc_manifest_review_queue2
|
||||
ON gc_manifest_review_queue (registry_id, manifest_id, review_after);
|
@ -0,0 +1,2 @@
|
||||
--noop as gc_manifest_review_queue table doesn't exist in gitness
|
||||
;
|
@ -0,0 +1,2 @@
|
||||
--noop as gc_manifest_review_queue table doesn't exist in gitness
|
||||
;
|
@ -78,7 +78,7 @@ const (
|
||||
const (
|
||||
manifestListCreateGCReviewWindow = 1 * time.Hour
|
||||
manifestListCreateGCLockTimeout = 10 * time.Second
|
||||
manifestTagGCLockTimeout = 10 * time.Second
|
||||
manifestTagGCLockTimeout = 30 * time.Second
|
||||
tagDeleteGCLockTimeout = 10 * time.Second
|
||||
manifestTagGCReviewWindow = 1 * time.Hour
|
||||
manifestDeleteGCReviewWindow = 1 * time.Hour
|
||||
|
Loading…
Reference in New Issue
Block a user