From 3985496e81ec55a4daa57aa7792fc11130f04318 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 1 Oct 2024 15:05:53 -0400 Subject: [PATCH] Increase bactch to 20 --- wrenchboard/src/shared_tool/site_crons.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrenchboard/src/shared_tool/site_crons.cc b/wrenchboard/src/shared_tool/site_crons.cc index 52145a69..6d08e150 100644 --- a/wrenchboard/src/shared_tool/site_crons.cc +++ b/wrenchboard/src/shared_tool/site_crons.cc @@ -167,7 +167,7 @@ long ScheduleHolidayJobs(CVars in, CVars &out){ try { out["total_record"] = "0"; const PGresult *res; - res = pgsql_query("SELECT * FROM holiday_message WHERE status = 1 AND completed IS NULL ORDER BY id DESC LIMIT 5"); + res = pgsql_query("SELECT * FROM holiday_message WHERE status = 1 AND completed IS NULL ORDER BY id DESC LIMIT 20"); if (res != NULL && pgsql_num_rows(res) > 0) { out["total_record"] = pgsql_num_rows(res);