Commit cc091744 authored by Michael Ott's avatar Michael Ott

Use QoS=1 as default

parent f68f392a
......@@ -59,7 +59,7 @@ void usage() {
std::cout << "Options:" << std::endl;
std::cout << " -b<hosts> List of MQTT brokers [default: localhost:1883]" << std::endl;
std::cout << " -q<qos> MQTT QoS to use [default: 0]" << std::endl;
std::cout << " -q<qos> MQTT QoS to use [default: 1]" << std::endl;
std::cout << " -o<timeout> MQTT timeout in seconds [default: 10]" << std::endl;
std::cout << " -c<hosts> List of Cassandra hosts [default: none]" << std::endl;
std::cout << " -u<username> Cassandra username [default: none]" << std::endl;
......@@ -174,7 +174,7 @@ int main(int argc, char** argv) {
std::string nodelist="", jobId="", userId="";
std::string substitution="";
int maxJobLength = -1;
int qos = 0;
int qos = 1;
int timeout = 10;
uint64_t ts=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment