diff --git a/server/mapobjectdb/sqlite_tiles.go b/server/mapobjectdb/sqlite_tiles.go index 54e7f4e..7107c43 100644 --- a/server/mapobjectdb/sqlite_tiles.go +++ b/server/mapobjectdb/sqlite_tiles.go @@ -68,7 +68,7 @@ func (db *Sqlite3Accessor) RemoveTile(pos *coords.TileCoords) error { } func NewSqliteAccessor(filename string) (*Sqlite3Accessor, error) { - db, err := sql.Open("sqlite3", filename+"?_timeout=500") + db, err := sql.Open("sqlite3", filename+"?_timeout=500&_journal_mode=MEMORY&_synchronous=OFF") if err != nil { return nil, err }