Skip to content

Commit

Permalink
Remove some debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrrock2 committed Sep 20, 2024
1 parent f2f3c6a commit aeaed56
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gerrydb/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ def upsert_view_gpkg(
db_cursor.execute("SELECT SUM(file_size_kb) FROM view")
total_db_size = db_cursor.fetchone()[0]

print(total_db_size)
print(f"max_size: {self.max_size_gb * 1024 * 1024}")

while total_db_size > self.max_size_gb * 1024 * 1024:
db_cursor.execute("SELECT * FROM view ORDER BY cached_at ASC LIMIT 1")
oldest = db_cursor.fetchone()
Expand Down

0 comments on commit aeaed56

Please sign in to comment.