Mercurial > hgrepos > hgweb.cgi > s4
changeset 735:23f17b1aebc3 feature-annex
Temporary disable variable cache'ing for joingrp()
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 03 Jun 2020 21:33:25 +0900 |
parents | ebc1c0b19bf7 |
children | d78944aa1cd2 |
files | s4-funcs.sh |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Wed Jun 03 21:32:10 2020 +0900 +++ b/s4-funcs.sh Wed Jun 03 21:33:25 2020 +0900 @@ -689,10 +689,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