Browse Source

Only give the insufficient subproxy message when looking for a global proxy

master
Con Kolivas 10 years ago
parent
commit
888ef2e2d8
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -2902,7 +2902,8 @@ static sdata_t *select_sdata(const ckpool_t *ckp, sdata_t *ckp_sdata, const int
mutex_unlock(&ckp_sdata->proxy_lock); mutex_unlock(&ckp_sdata->proxy_lock);
if (!best) { if (!best) {
LOGWARNING("Temporarily insufficient subproxies to accept more clients"); if (!userid)
LOGWARNING("Temporarily insufficient subproxies to accept more clients");
return NULL; return NULL;
} }
if (!userid) { if (!userid) {

Loading…
Cancel
Save