Skip to content

Commit

Permalink
Increase MAX_ITERATIONS so 20K comment thread stops breaking.
Browse files Browse the repository at this point in the history
  • Loading branch information
spladug committed Jan 10, 2012
1 parent 49c9831 commit 37364c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/lib/comment_tree.py
Expand Up @@ -26,7 +26,7 @@
from r2.lib.cache import sgm
from r2.models.link import Link

MAX_ITERATIONS = 20000
MAX_ITERATIONS = 25000

def comments_key(link_id):
return 'comments_' + str(link_id)
Expand Down

0 comments on commit 37364c4

Please sign in to comment.