# HG changeset patch # User HIROSE Yuuji # Date 1591187605 -32400 # Node ID 1ab3cc61a462e7cce8948d08d9e4ef79ebf38ff4 # Parent 98702a1251cdd122d8a13d43838817c788adca05 Temporary disable variable cache'ing for joingrp() diff -r 98702a1251cd -r 1ab3cc61a462 s4-funcs.sh --- a/s4-funcs.sh Tue Jun 02 07:52:04 2020 +0900 +++ b/s4-funcs.sh Wed Jun 03 21:33:25 2020 +0900 @@ -676,10 +676,12 @@ getpar() { # err GETPAR=$1, _user=$_user val="" - case "$1" in # Dirty cache mechanism for high-load average - user) val=$_user ;; - skey) val=$_skey ;; - esac + if false; then # 2020/6/3 Temporary disabled for joingrp() + case "$1" in # Dirty cache mechanism for high-load average + user) val=$_user ;; + skey) val=$_skey ;; + esac + fi val=${val:-`query "select val from par where var='$1' and sessid='$session' $2;"`} ## err getpar/val1: "val=[$val]" if [ -z "$val" ]; then