Skip to content

Commit

Permalink
Refs plone#11 - Set default purger backlog size to 0 (infinity)
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Jun 6, 2018
1 parent 3e714aa commit b232111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ New features:

Bug fixes:

- *add item here*
- Set default purger backlog size to 0 (infinity) in order to fully invalidate Varnish cache
[avoinea refs #11]


1.0.15 (2018-04-24)
Expand Down
2 changes: 1 addition & 1 deletion plone/cachepurging/purger.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def connect(self):
@implementer(IPurger)
class DefaultPurger(object):

def __init__(self, factory=Connection, timeout=30, backlog=200,
def __init__(self, factory=Connection, timeout=30, backlog=0,
errorHeaders=('x-squid-error', ), http_1_1=True):
self.factory = factory
self.timeout = timeout
Expand Down

0 comments on commit b232111

Please sign in to comment.