diff options
author | drebs <drebs@leap.se> | 2017-04-26 13:40:48 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-07-07 21:25:13 +0200 |
commit | 1ec535af0a3b63999a653db03baebda16aae4d21 (patch) | |
tree | 97eb4a92caa23244819818202e1f84528d77ff5e /tune-adbapi-parameters.sh | |
parent | dfa0eea0f2d4e0036ddadfbe0827848a4e188e84 (diff) |
[benchmarks] Fix script name.
Diffstat (limited to 'tune-adbapi-parameters.sh')
-rwxr-xr-x | tune-adbapi-parameters.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tune-adbapi-parameters.sh b/tune-adbapi-parameters.sh new file mode 100755 index 00000000..22408d86 --- /dev/null +++ b/tune-adbapi-parameters.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +FILE=client/src/leap/soledad/client/adbapi.py + +if [ ! -f ${FILE} ]; then + exit 0 +fi + +sed -i -e "s/\(SQLCIPHER_MAX_RETRIES\) =.*/\1 = 100/" ${FILE} +sed -i -e "s/\(SQLCIPHER_CONNECTION_TIMEOUT\) =.*/\1 = 100/" ${FILE} |