]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Drop the MaxMemInQueues lower limit down to 256 MB.
authorNick Mathewson <nickm@torproject.org>
Wed, 20 Nov 2013 17:12:47 +0000 (12:12 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 20 Nov 2013 17:13:30 +0000 (12:13 -0500)
on #9686, gmorehose reports that the 500 MB lower limit is too high
for raspberry pi users.

changes/bug9686 [new file with mode: 0644]
src/or/config.c

diff --git a/changes/bug9686 b/changes/bug9686
new file mode 100644 (file)
index 0000000..82a8f44
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor changes:
+    - Decrease the lower limit of MaxMemInQueues to 256 MBytes, to
+      appease raspberry pi users. Fixes bug 9686.
\ No newline at end of file
index 0accb65e5b28a52ba25ef5188275b9850d92004c..01e62d6d42e82209a4e09bb957ca138f40722033 100644 (file)
@@ -3670,10 +3670,10 @@ options_validate(or_options_t *old_options, or_options_t *options,
     log_warn(LD_CONFIG, "EntryNodes is set, but UseEntryGuards is disabled. "
              "EntryNodes will be ignored.");
 
-  if (options->MaxMemInQueues < (500 << 20)) {
-    log_warn(LD_CONFIG, "MaxMemInQueues must be at least 500 MB for now. "
+  if (options->MaxMemInQueues < (256 << 20)) {
+    log_warn(LD_CONFIG, "MaxMemInQueues must be at least 256 MB for now. "
              "Ideally, have it as large as you can afford.");
-    options->MaxMemInQueues = (500 << 20);
+    options->MaxMemInQueues = (256 << 20);
   }
 
   options->_AllowInvalid = 0;