$RUNWRAPPER $PDNS2 --daemon=no --local-port=$port --socket-dir=./ \
--no-shuffle --launch=gmysql --gmysql-dnssec \
--fancy-records --send-root-referral \
- --cache-ttl=0 --query-cache-ttl=0 --no-config --slave --retrieval-threads=1 \
+ --cache-ttl=0 --query-cache-ttl=0 --no-config --slave --retrieval-threads=4 \
--gmysql-dbname="$GMYSQL2DB" \
--gmysql-user="$GMYSQL2USER" \
--gmysql-host="$GMYSQL2HOST" \
$RUNWRAPPER $PDNS2 --daemon=no --local-port=$port --socket-dir=./ \
--no-shuffle --launch=gsqlite3 --gsqlite3-dnssec \
--fancy-records --send-root-referral \
- --cache-ttl=0 --query-cache-ttl=0 --no-config --slave --retrieval-threads=1 \
+ --cache-ttl=0 --query-cache-ttl=0 --no-config --slave --retrieval-threads=4 \
--gsqlite3-database=pdns.sqlite31 --gsqlite3-pragma-synchronous=0 \
--config-name=gsqlite32 |& egrep -v "update records set ordername|insert into records" &
echo 'waiting for zones to be slaved'