Skip to content

Commit

Permalink
Item10654: remove the die 'here', and I get the same results as brute…
Browse files Browse the repository at this point in the history
…force

git-svn-id: http://svn.foswiki.org/trunk/MongoDBPlugin@11495 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Apr 19, 2011
1 parent 575db79 commit e119e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/MongoDBPlugin/Listener.pm
Expand Up @@ -129,7 +129,7 @@ $_[0]->{count}{$_[1]->web} = {} unless (defined($_[0]->{count}{$_[1]->web}));
$_[0]->{count}{$_[1]->web}{$_[1]->topic} = 0 unless (defined($_[0]->{count}{$_[1]->web}{$_[1]->topic}));

$_[0]->{count}{$_[1]->web}{$_[1]->topic}++;
die 'here' if ($_[0]->{count}{$_[1]->web}{$_[1]->topic} > 10); #sometime there is recursion, and this way i can track it down
#die 'here' if ($_[0]->{count}{$_[1]->web}{$_[1]->topic} > 10); #sometime there is recursion, and this way i can track it down


#allow the MongoDBPlugin to disable the listener when running a web update resthandler
Expand Down

0 comments on commit e119e11

Please sign in to comment.