From 9aa0024ca3bf6d8180d7b9170a35deeb053fa7b7 Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Wed, 26 Aug 2015 16:52:53 +0200 Subject: [PATCH] mxqdump: Reduce time for displaying active jobs from 7d to 24h --- mxq_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxq_group.c b/mxq_group.c index ecbf680..f9ec96a 100644 --- a/mxq_group.c +++ b/mxq_group.c @@ -273,7 +273,7 @@ int mxq_load_active_groups_for_user(struct mx_mysql *mysql, struct mxq_group **m GROUP_FIELDS " FROM mxq_group" " WHERE ((group_jobs_inq > 0 OR group_jobs_running > 0)" - " OR (NOW()-group_date_end < 604800))" + " OR (NOW()-group_date_end < 86400))" " AND user_uid = ?" " ORDER BY user_name, group_mtime" " LIMIT 1000";