From 75194b47f10346e76432485b793ea1e14f54487b Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Sun, 10 Feb 2019 19:54:27 +0100 Subject: [PATCH] tiledb gc --- server/tiledb/tiledb.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/tiledb/tiledb.go b/server/tiledb/tiledb.go index 62d093d..9437bad 100644 --- a/server/tiledb/tiledb.go +++ b/server/tiledb/tiledb.go @@ -31,7 +31,12 @@ func getKey(pos *coords.TileCoords) []byte { } func (this *TileDB) GC() { - this.db.RunValueLogGC(0.7) + for { + err := this.db.RunValueLogGC(0.25) + if err != nil { + return + } + } } func (this *TileDB) GetTile(pos *coords.TileCoords) ([]byte, error) {