update page_size to 20 from 50

This commit is contained in:
Beverly Nguyen
2024-08-19 14:25:51 -07:00
parent 9182ba0323
commit c897b2d71f
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class Config(object):
SQLALCHEMY_POOL_TIMEOUT = 30
SQLALCHEMY_POOL_RECYCLE = 300
SQLALCHEMY_STATEMENT_TIMEOUT = 1200
PAGE_SIZE = 50
PAGE_SIZE = 20
API_PAGE_SIZE = 250
REDIS_URL = cloud_config.redis_url
REDIS_ENABLED = getenv("REDIS_ENABLED", "1") == "1"

View File

@@ -54,7 +54,7 @@ def dao_get_jobs_by_service_id(
*,
limit_days=None,
page=1,
page_size=50,
page_size=20,
statuses=None,
):
query_filter = [