mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
For some reason we are not sorting the files even though the script says we are. Try to get a result to find out why
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
This commit is contained in:
@@ -85,10 +85,13 @@ fi
|
||||
# stuck and you end up with days or weeks of data in a single
|
||||
# file. Doing a continual sort clears up that.
|
||||
|
||||
sort -o ${WORKFILE} -u ${WORKFILE}
|
||||
|
||||
sort -o ${WORKFILE} -u ${WORKFILE} -S4G
|
||||
simple_message_to_bus condense-mirrorlogs.mirrorlist.sort workfile="$WORKFILE" logfile="$LOGFILE" result="$?"
|
||||
sort -o ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} -S 8G -T /tmp -u ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} ${WORKFILE}
|
||||
sort -o ${WORKDIR}/out-${YEAR} -S 8G -T /tmp -u ${WORKDIR}/out-${YEAR} ${WORKFILE}
|
||||
|
||||
|
||||
# Because the logs stop at 04:00 we can only get 24 hours from 6 days before.
|
||||
###
|
||||
### FIXME: This breaks around the new year.
|
||||
|
||||
Reference in New Issue
Block a user