7dcf1302df1abed662c1eb4ef504e00b4a40dee1 braney Mon Dec 17 14:09:00 2012 -0800 re-try a hub with an error message after a hg.conf configurable amount of time has passed (#9666) diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index ec97445..d148327 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -7,30 +7,33 @@ #ifndef HUBCONNECT_H #define HUBCONNECT_H #define defaultHubPublicTableName "hubPublic" /* Name of our table with list of public hubs. read only */ #define hubPublicTableConfVariable "hub.publicTableName" /* the name of the hg.conf variable to use something other than the default */ #define defaultHubStatusTableName "hubStatus" /* Name of table that maintains status of hubs read/write. */ #define hubStatusTableConfVariable "hub.statusTableName" /* the name of the hg.conf variable to use something other than the default */ +#define hgHubConnectTimeToCheck "hub.timeToCheck" +/* the number of seconds to wait before checking the hub again */ + #define hgHubDataText "hubUrl" /* name of cgi variable containing new hub name */ #define hubTrackPrefix "hub_" /* The names of all hub tracks begin with this. Use in cart. */ boolean isHubTrack(char *trackName); /* Return TRUE if it's a hub track. */ struct hubConnectStatus /* Basic status in hubStatus. Note it is *not* the same as the * hubStatus table, that has a bunch of extra fields to help * keep track of whether the hub is alive. */ {