summaryrefslogtreecommitdiffstats
path: root/integrations/sqlite.ini.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-09-11 22:14:48 +0800
committerGitHub <noreply@github.com>2020-09-11 10:14:48 -0400
commitdd1a651b5895cfdb8a141a56aa824ed4d082c41a (patch)
treec9d8f9adb0c0a9fb9af8623f1590275a395fa1c7 /integrations/sqlite.ini.tmpl
parent910947fbcd229abac9f507e266f94cb8864474cb (diff)
downloadgitea-dd1a651b5895cfdb8a141a56aa824ed4d082c41a.tar.gz
gitea-dd1a651b5895cfdb8a141a56aa824ed4d082c41a.zip
Move all push update operations to a queue (#10133)
* Fix test * Add no queue for test only * improve code * Auto watch whatever branch operation * Fix lint * Rename noqueue to immediate * Remove old PushUpdate function * Fix tests Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'integrations/sqlite.ini.tmpl')
-rw-r--r--integrations/sqlite.ini.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/integrations/sqlite.ini.tmpl b/integrations/sqlite.ini.tmpl
index 5d54c5f9fa..4c0d40cc4a 100644
--- a/integrations/sqlite.ini.tmpl
+++ b/integrations/sqlite.ini.tmpl
@@ -13,6 +13,9 @@ REPO_INDEXER_PATH = integrations/indexers-sqlite/repos.bleve
[queue.code_indexer]
TYPE = immediate
+[queue.push_update]
+TYPE = immediate
+
[repository]
ROOT = {{REPO_TEST_DIR}}integrations/gitea-integration-sqlite/gitea-repositories