aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-09-03 11:20:57 +0100
committerGitHub <noreply@github.com>2021-09-03 11:20:57 +0100
commit6c125e979713259f41e99ef738a612318c69fbc5 (patch)
tree86a2f9bbb8bd97ab372c01380e7b8ee554dababb /integrations
parent219dec030daf89f0a5a23217c0439d1b1adc9259 (diff)
downloadgitea-6c125e979713259f41e99ef738a612318c69fbc5.tar.gz
gitea-6c125e979713259f41e99ef738a612318c69fbc5.zip
Use immediate queues in integration tests and ensure that immediate (#16927)
queue type is also used for unique queues. Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'integrations')
-rw-r--r--integrations/mssql.ini.tmpl3
-rw-r--r--integrations/mysql.ini.tmpl3
-rw-r--r--integrations/mysql8.ini.tmpl3
-rw-r--r--integrations/pgsql.ini.tmpl3
-rw-r--r--integrations/sqlite.ini.tmpl3
5 files changed, 15 insertions, 0 deletions
diff --git a/integrations/mssql.ini.tmpl b/integrations/mssql.ini.tmpl
index 0a7710fc5f..b9ed26dccd 100644
--- a/integrations/mssql.ini.tmpl
+++ b/integrations/mssql.ini.tmpl
@@ -15,6 +15,9 @@ ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-mssql/indexers/issues.q
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = integrations/gitea-integration-mssql/indexers/repos.bleve
+[queue]
+TYPE = immediate
+
[queue.code_indexer]
TYPE = immediate
diff --git a/integrations/mysql.ini.tmpl b/integrations/mysql.ini.tmpl
index a78b0425a1..6de2374277 100644
--- a/integrations/mysql.ini.tmpl
+++ b/integrations/mysql.ini.tmpl
@@ -16,6 +16,9 @@ ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-mysql/indexers/issues.q
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = integrations/gitea-integration-mysql/indexers/repos.bleve
+[queue]
+TYPE = immediate
+
[queue.code_indexer]
TYPE = immediate
diff --git a/integrations/mysql8.ini.tmpl b/integrations/mysql8.ini.tmpl
index 1151b6abc2..81a1d8836c 100644
--- a/integrations/mysql8.ini.tmpl
+++ b/integrations/mysql8.ini.tmpl
@@ -15,6 +15,9 @@ ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-mysql8/indexers/issues.
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = integrations/gitea-integration-mysql8/indexers/repos.bleve
+[queue]
+TYPE = immediate
+
[queue.code_indexer]
TYPE = immediate
diff --git a/integrations/pgsql.ini.tmpl b/integrations/pgsql.ini.tmpl
index f11d4faba5..db1914a1bb 100644
--- a/integrations/pgsql.ini.tmpl
+++ b/integrations/pgsql.ini.tmpl
@@ -16,6 +16,9 @@ ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-pgsql/indexers/issues.q
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = integrations/gitea-integration-pgsql/indexers/repos.bleve
+[queue]
+TYPE = immediate
+
[queue.code_indexer]
TYPE = immediate
diff --git a/integrations/sqlite.ini.tmpl b/integrations/sqlite.ini.tmpl
index 71ac39a44b..76d9420d81 100644
--- a/integrations/sqlite.ini.tmpl
+++ b/integrations/sqlite.ini.tmpl
@@ -11,6 +11,9 @@ ISSUE_INDEXER_QUEUE_DIR = integrations/gitea-integration-sqlite/indexers/issues.
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = integrations/gitea-integration-sqlite/indexers/repos.bleve
+[queue]
+TYPE = immediate
+
[queue.code_indexer]
TYPE = immediate