summaryrefslogtreecommitdiff
path: root/scripts/benchmark/tune-adbapi-parameters.sh
blob: 22408d863317da69dbf8c4707fdad40a4c20e625 (plain)
1
2
3
4
5
6
7
8
9
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}