Commit ce217158 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

software/js-drone: reduce connection timeout to 5 seconds

parent 5d5fa7e4
......@@ -30,7 +30,7 @@ md5sum = 7d063b33dbdd7548e2a23bc4d8a66a43
[main]
_update_hash_filename_ = drone-scripts/main.js.jinja
md5sum = 42b7dd4866c405ea4b3d7384f0d0f6c7
md5sum = 949a76094b502f831b10c2bc1dd75f95
[pubsub]
_update_hash_filename_ = drone-scripts/pubsub.js.jinja
......
......@@ -66,7 +66,7 @@ import { exit, open } from "std";
var address = configuration.autopilotIp + ":" + configuration.autopilotPort;
console.log("Will connect to", address);
exitOnFail(
start(configuration.autopilotIp, configuration.autopilotPort, LOG_FILE, 60),
start(configuration.autopilotIp, configuration.autopilotPort, LOG_FILE, 5),
"Failed to connect to " + address
);
}
......
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