Browse Source

provide a more useful warn message when our onion queue
gets full.


svn:r5881

Roger Dingledine 19 years ago
parent
commit
e05d4e45d2
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/or/onion.c

+ 5 - 1
src/or/onion.c

@@ -57,7 +57,11 @@ onion_pending_add(circuit_t *circ)
   tor_assert(!ol_tail->next);
 
   if (ol_length >= get_options()->MaxOnionsPending) {
-    notice(LD_GENERAL,"Already have %d onions queued. Closing.", ol_length);
+    warn(LD_GENERAL,
+         "Your computer is too slow to handle this many circuit "
+         "creation requests! Please consider using the "
+         "MaxAdvertisedBandwidth config option or choosing a more "
+         "restricted exit policy.");
     tor_free(tmp);
     return -1;
   }