We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1472129 commit c15c1ecCopy full SHA for c15c1ec
backend/btrixcloud/operator/crawls.py
@@ -1535,6 +1535,10 @@ async def update_crawl_state(
1535
stats, sizes = await self.get_redis_crawl_stats(redis, crawl.id)
1536
1537
# need to add size of previously completed WACZ files as well!
1538
+ # TODO: This sometimes results in the crawl's stats.size being
1539
+ # twice as large as expected when pausing crawls, as stats.size
1540
+ # is not necessarily decremented once WACZ files are uploaded
1541
+ # This then can have a downstream effects on the storage quota check
1542
stats.size += status.filesAddedSize
1543
1544
# update status
0 commit comments