Commit 782b9dc9 authored by Mike Hibler's avatar Mike Hibler
Browse files

In remote mode, don't limit the number of attempts to connect to the server.

This causes program agents to become isolated and marginalized, in short,
unresponsive to the needs of Emulab.  It is now a Loyal Emulab Soldier,
attempting reconnects til the end of time if necessary.

I left in the "keep alive" (idle timeout) since it doesn't seem to be causing
any problems.
parent 3b4f0071
......@@ -792,10 +792,13 @@ main(int argc, char **argv)
* Register with the event system.
if (remote){
#if 0
if (remote) {
handle = event_register_withkeyfile_withretry(server, 0,
keyfile, 3);
} else {
} else
handle = event_register_withkeyfile(server, 0, keyfile);
if (handle == NULL) {
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