Mercurial > hgrepos > hgweb.cgi > s4
changeset 892:3c9c65ff80f0
Log more information
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 26 Dec 2020 15:17:21 +0900 |
parents | 45771085d097 |
children | c1a5d137740d |
files | s4-world.sh |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-world.sh Sat Dec 26 10:10:37 2020 +0900 +++ b/s4-world.sh Sat Dec 26 15:17:21 2020 +0900 @@ -169,12 +169,14 @@ [ -z "$forceusersync" -a "$syncflag" -nt "$userupdateflag" ] && return if [ -s "$runflag" ]; then limit=`cat $runflag|tr -c -d 0-9` + err syncaccount: limit=$limit if [ -n "$limit" -a "$limit" -gt `date +%s` ]; then err "World $S4WORLD account sync withholded by process $$" return # Running sync by other process not leaching timeout fi fi echo $((`date +%s` + 10)) > $runflag # Setting running flag by timeout 10s + err syncaccount: setrunflag[$runflag]=`cat $runflag` query<<-EOF .bail ON ATTACH DATABASE "$S4MASTERDB" AS m;