Skip to content

Commit

Permalink
100
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Apr 8, 2024
1 parent 693ab66 commit af84916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog
5.4.9 (unreleased)
------------------

- Limit event occurrences to 1000.
- Limit event occurrences to 100.
[mamico]
- Customize INameChooser adapter to check also alias ids and disallow to create contents that could override aliases.
[cekk]
Expand Down
4 changes: 2 additions & 2 deletions src/redturtle/volto/monkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ def get_obj(start):
id=str(start.date()), start=start, end=start + duration
).__of__(self.context)

limit = 1000
limit = 100
for start in starts:
if limit < 0:
logger.warning(
"Too many occurrences for %s, stopping at 1000",
"Too many occurrences for %s, stopping at 100",
self.context.absolute_url(),
)
raise StopIteration
Expand Down

0 comments on commit af84916

Please sign in to comment.