Skip to content

Commit

Permalink
mxqdump: Reduce time for displaying active jobs from 7d to 24h
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 26, 2015
1 parent 2f945ad commit 9aa0024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxq_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9aa0024

Please sign in to comment.