default value in api is input

fix description and pass the parameter in the multi runner script
This commit is contained in:
Roee Gadot 2021-04-29 08:27:05 +03:00
parent 494b924dcb
commit 930f5178a7
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ func main() {
app := fiber.New()
var harDir = flag.String("hardir", "/tmp/mizuhars", "Directory in which to store output har files")
var harDir = flag.String("hardir", "input", "Directory in which we read har files from")
go inserter.StartReadingFiles(*harDir) // process to read files and insert to DB

View File

@ -1,7 +1,7 @@
#!/bin/bash
# this script runs both executables and exits everything if one fails
./apiserver &
./apiserver -hardir /tmp/mizuhars &
./passivetapper -i any -hardump -hardir /tmp/mizuhars -harentriesperfile 50 &
wait -n
pkill -P $$