Skip to content

Commit

Permalink
tweak docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Feb 10, 2025
1 parent e1ba768 commit 798fc68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/btrixcloud/crawlconfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ async def add_crawl_config(
)

def ensure_quota_page_limit(self, crawlconfig: CrawlConfig, org: Organization):
"""ensure page limit is set to smaller or existing limit or quota limit"""
"""ensure page limit is set to no greater than quota page limit, if any"""
if org.quotas.maxPagesPerCrawl and org.quotas.maxPagesPerCrawl > 0:
if crawlconfig.config.limit and crawlconfig.config.limit > 0:
crawlconfig.config.limit = min(
Expand Down

0 comments on commit 798fc68

Please sign in to comment.