From 494dd979a98065bfbd5603031217bcf2211d8ad3 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 19 Apr 2017 09:25:09 -0400 Subject: [PATCH] Never reset the taginfo cache The data on taginfo is refreshed once per day, so there's no reason to reissue those API calls during a normal editing session. reset() gets called after the user saves their changes to OSM --- modules/services/taginfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/taginfo.js b/modules/services/taginfo.js index 83eac26f8..f83540241 100644 --- a/modules/services/taginfo.js +++ b/modules/services/taginfo.js @@ -176,7 +176,7 @@ export default { }, - reset: function() { taginfoCache = {}; }, + reset: function() { }, keys: function(parameters, callback) {