Skip to content

Commit

Permalink
notes to self
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Dec 15, 2020
1 parent 33d4bd2 commit 7f5bde7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions database.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,10 @@ func (r *SQLiteSpatialDatabase) setSPRCacheItem(ctx context.Context, f wof_geojs

func (r *SQLiteSpatialDatabase) retrieveSPRCacheItem(ctx context.Context, uri_str string) (*SQLiteCacheItem, error) {

// Note to self: I actually tried chunking this out in to separate functions
// talking to the database concurrently with channels and stuff and it was
// subtly slower than just doing it this way... (20201215/thisisaaronland)

c, ok := r.gocache.Get(uri_str)

if ok {
Expand Down

0 comments on commit 7f5bde7

Please sign in to comment.