Skip to content

Commit

Permalink
Item9874: Change limit to avoid sudden server death
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/TopicRecursePlugin@11258 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Mar 28, 2011
1 parent cb32269 commit 34592e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/System/VarTOPICRECURSE.txt
Expand Up @@ -17,7 +17,7 @@
=formatbranch="..."= %BR% \
=formatleaf="..."= | Custom format results: see [[FormattedSearch]] for usage &amp; examples; "branch" format is for nodes which have descendents; "leaf" format is for terminating nodes for which there are no others below. | =$indent* [<nop>[$web.<nop>$topic][$topic]]= |
| =separator="..."= | Separator _between_ search hits. See [[#FormatTokens]] | =$n= |
| =nodelimit= | Maximum number of nodes to be displayed. 0 = no limit. | =999= |
| =nodelimit= | Maximum number of nodes to be displayed. 0 = no limit. | =50= |
| =depthlimit= | Maximum depth to recurse to. 0 = no limit. | =0= |
| =breadthlimit= %X% | Maximum number of nodes to be displayed _at a given depth_. 0 = no limit. | =0= |

Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/TopicRecursePlugin/Core.pm
Expand Up @@ -35,7 +35,7 @@ sub extractParams {
$args{formatleaf} ||= $args{format};
$args{separator} ||= '$n';
$args{footer} ||= '*Total: $ntopics*';
$args{nodelimit} ||= '999';
$args{nodelimit} ||= '50';

return \%args;
}
Expand Down

0 comments on commit 34592e2

Please sign in to comment.