From dd1a651b5895cfdb8a141a56aa824ed4d082c41a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 11 Sep 2020 22:14:48 +0800 Subject: 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 Co-authored-by: techknowlogick --- integrations/sqlite.ini.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'integrations/sqlite.ini.tmpl') 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 -- cgit v1.2.3