From 89b4e0477b4e1b9e1cccd87b68fde4ea8a578e9c Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 23 Dec 2019 20:31:16 +0800 Subject: Refactor code indexer (#9313) * Refactor code indexer * fix test * fix test * refactor code indexer * fix import * improve code * fix typo * fix test and make code clean * fix lint --- modules/setting/indexer.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/setting/indexer.go') diff --git a/modules/setting/indexer.go b/modules/setting/indexer.go index fbaef3fcf2..589e7bf864 100644 --- a/modules/setting/indexer.go +++ b/modules/setting/indexer.go @@ -45,6 +45,8 @@ var ( IssueQueueDir: "indexers/issues.queue", IssueQueueConnStr: "", IssueQueueBatchNumber: 20, + + MaxIndexerFileSize: 1024 * 1024, } ) -- cgit v1.2.3