From a4ec4c06e30caa60df975df34c1dd69c6298ae45 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 27 Aug 2020 13:49:24 +0800 Subject: [PATCH] Fix the build. --- app/jobs/scheduled/create_recent_post_search_indexes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/scheduled/create_recent_post_search_indexes.rb b/app/jobs/scheduled/create_recent_post_search_indexes.rb index 14fb3113bf7..4f0ab41cd9e 100644 --- a/app/jobs/scheduled/create_recent_post_search_indexes.rb +++ b/app/jobs/scheduled/create_recent_post_search_indexes.rb @@ -17,7 +17,7 @@ module Jobs return end - SiteSetting.search_recent_regular_posts_offset_post_id = self.regular_offset_post_id + SiteSetting.search_recent_regular_posts_offset_post_id = regular_offset_post_id DB.exec(<<~SQL) DROP INDEX IF EXISTS temp_idx_recent_regular_post_search_data;