From de1de7b8ad005e79caec6464f1793bd80b8fae45 Mon Sep 17 00:00:00 2001 From: ruuushhh Date: Mon, 4 Mar 2024 11:06:36 +0530 Subject: [PATCH] Set tasks limit to 1L --- fyle_xero_api/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fyle_xero_api/settings.py b/fyle_xero_api/settings.py index 09548845..06367e9e 100644 --- a/fyle_xero_api/settings.py +++ b/fyle_xero_api/settings.py @@ -114,7 +114,8 @@ Q_CLUSTER = { "name": "fyle_xero_api", - "save_limit": 0, + # The number of tasks will be stored in django q tasks + "save_limit": 100000, "retry": 14400, "timeout": 3600, "catch_up": False,