Skip to content

Commit 57767a8

Browse files
boldtrnkarussell
authored andcommitted
Defer Geocoding Requests graphhopper#1636
1 parent 32489fe commit 57767a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/main/resources/assets/js/autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ AutoComplete.prototype.showListForIndex = function (ghRequest, routeIfAllResolve
104104
containerClass: "autocomplete",
105105
timeout: 1000,
106106
/* avoid too many requests when typing quickly */
107-
deferRequestBy: 5,
107+
deferRequestBy: 200,
108108
minChars: 2,
109109
maxHeight: 510,
110110
noCache: true,

0 commit comments

Comments
 (0)