pushd services/threshold/cmd
[ -a threshold.prof ] && rm threshold.prof
[ -a cmd ] && rm cmd
go build .
clear
./cmd --cert-file=../../../certs/service.crt --key-file=../../../certs/service.key --insecure=true \
    --metrics-method=logged \
    --metrics-period=2s
    --log=trace \
    \
    --client-auth-method=fake \
    --client-url=https://localhost:8001 \
    --host-auth-method=fake \
    --host-name=wss://localhost:3002 \
    --host-url=wss://localhost:3000  \
    --profiling-file=threshold.prof
popd
