[xiph-commits] r7099 - icecast/branches/kh/icecast/src

karl at dactyl.lonelymoon.com karl
Sun Jul 11 13:04:52 PDT 2004


Author: karl
Date: Sun Jul 11 13:04:52 2004
New Revision: 7099

Modified:
icecast/branches/kh/icecast/src/yp.c
Log:
Wait 5 mins before retrying after a failed YP request, match trunk behaviour


Modified: icecast/branches/kh/icecast/src/yp.c
===================================================================
--- icecast/branches/kh/icecast/src/yp.c	2004-07-11 18:40:08 UTC (rev 7098)
+++ icecast/branches/kh/icecast/src/yp.c	2004-07-11 20:04:50 UTC (rev 7099)
@@ -287,7 +287,7 @@
if (curlcode)
{
yp->process = do_yp_add;
-        yp->next_update += 60;
+        yp->next_update += 300;
ERROR2 ("connection to %s failed with \"%s\"", server->url, server->curl_error);
return -1;
}
@@ -296,7 +296,7 @@
if (yp->error_msg == NULL)
yp->error_msg = strdup ("no response from server");
yp->process = do_yp_add;
-        yp->next_update += 60;
+        yp->next_update += 300;
ERROR3 ("YP %s on %s failed: %s", cmd, server->url, yp->error_msg);
return -1;
}



More information about the commits mailing list