thulab / iot-benchmark

IoT-benchmark is a tool for benchmarking TSDB in IoT scenario.
Apache License 2.0
180 stars 101 forks source link

Throw exception when DB_SWITCH is invalid #377

Closed liyuheng55555 closed 10 months ago

liyuheng55555 commented 10 months ago

Now if db_switch is invalid, benchmark will use 012 as default. This is bad for debugging. So, throw an exception instead.

image