Set a default of 500 for $S2::MAX_RECURSION, to avoid unsightly and
inconvenient errors in deep comment threads.
Patch by kareila.
diffs (14 lines):
diff -r 7ae60c4b9299 -r 7f8dbc2622d1 cgi-bin/ljdefaults.pl
--- a/cgi-bin/ljdefaults.pl Wed Jun 30 00:15:33 2010 +0800
+++ b/cgi-bin/ljdefaults.pl Wed Jun 30 00:26:32 2010 +0800
@@ -320,6 +320,10 @@
# default to limit to 50,000 watch or trust edges to load
$LJ::MAX_WT_EDGES_LOAD ||= 50_000;
+
+
+ # to avoid S2 error "Excessive recursion detected and stopped."
+ $S2::MAX_RECURSION = 500;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog