Skip to content

Commit

Permalink
It's already megabytes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbothma committed Nov 19, 2024
1 parent 178a941 commit 4d5abe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomenklatura/index/duckdb_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(
self.view = view
memory_budget = options.get("memory_budget", None)
self.memory_budget: Optional[int] = (
(int(memory_budget) * 1024) if memory_budget else None
int(memory_budget) if memory_budget else None
)
"""Memory budget in megabytes"""
self.max_candidates = int(options.get("max_candidates", 50))
Expand Down

0 comments on commit 4d5abe2

Please sign in to comment.