Skip to content

Commit

Permalink
Dummy commit (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
lferran authored Aug 16, 2024
1 parent 0404228 commit 2f678b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nucliadb/src/nucliadb/search/api/v1/knowledgebox.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def _kb_counters(
async def get_resources_count(kbid: str, force_calculate: bool = False) -> int:
async with datamanagers.with_ro_transaction() as txn:
if force_calculate:
# for small kbs, this is faster and more up to date
# For small kbs, this is faster and more up to date
resource_count = await datamanagers.resources.calculate_number_of_resources(txn, kbid=kbid)
else:
resource_count = await datamanagers.resources.get_number_of_resources(txn, kbid=kbid)
Expand Down

0 comments on commit 2f678b5

Please sign in to comment.