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 b17ecd2 commit db80a95Copy full SHA for db80a95
backend/btrixcloud/operator/crawls.py
@@ -1523,6 +1523,10 @@ async def update_crawl_state(
1523
stats, sizes = await self.get_redis_crawl_stats(redis, crawl.id)
1524
1525
# need to add size of previously completed WACZ files as well!
1526
+ # TODO: This sometimes results in the crawl's stats.size being
1527
+ # twice as large as expected when pausing crawls, as stats.size
1528
+ # is not necessarily decremented once WACZ files are uploaded
1529
+ # This then can have a downstream effects on the storage quota check
1530
stats.size += status.filesAddedSize
1531
1532
# update status
0 commit comments