# HG changeset patch # User HIROSE Yuuji # Date 1588492246 -32400 # Node ID 1c36cb1a1a0eedfac2f9b3e39e1b8d44f150219c # Parent b29e31dc3fbdbc02a53fe787c8ea8035a2c3455f Cancellation for too heavy access diff -r b29e31dc3fbd -r 1c36cb1a1a0e s4-blog.sh --- a/s4-blog.sh Sun May 03 16:47:54 2020 +0900 +++ b/s4-blog.sh Sun May 03 16:50:46 2020 +0900 @@ -227,6 +227,10 @@ FROM $ts WHERE id='$id' GROUP BY id; EOF { IFS='|' read edit ctime hexhead blogtype + if [ -z "$ctime" ]; then # Maybe database timeout + echo "時間をおいて繋いでください(Please visit later)." | html p + return + fi cat<<-EOF ${edit:+$href }$ctime $blogtype $href2$href3 $href4 $href5