@@ -28,16 +28,20 @@ search:
2828 min-chars : 2
2929 # The URL of the remote search service
3030 url : " https://search.quarkus.io/"
31- # The amount of time before we give up on a pending remote search and fall back to Javascript search
32- # The search service itself is rather fast (~10-30ms) but it's hosted in only one datacenter,
33- # so depending on how far from it you are, you can expect quite high latency...
34- # 500ms won't cut it for a DSL connection in France, for example.
35- initial-timeout : 1000
31+ # The amount of time before we give up on a pending remote search and fall back to Javascript search.
32+ # The search service itself is reasonably fast on a decent machine (with curl: ~100ms median, ~150ms 90th percentile).
33+ # but it's slower on prod machines (with curl: ~200ms median, ~400ms 90th percentile),
34+ # and prod network overhead makes it even worse (with curl from France: ~750ms median, ~1000ms 90th percentile),
35+ # so we need a high timeout with some margin for varying network latency depending on browser location.
36+ # Such a high timeout is acceptable since Javascript search is almost instantaneous,
37+ # so when we hit the timeout the user won't experience much more delay.
38+ # See also https://docs.google.com/spreadsheets/d/1w0tSfL-MKFArSrB-L8IX1pxmrhWmQyNgNwQRloG3cLk/edit#gid=456110917
39+ initial-timeout : 1500
3640 # When fetching more pages, a timeout would be very bad for UX
3741 # since we would reset the whole page using Javascript --
3842 # while the user is reading through it!
3943 # This we set a higher timeout value, to make timeouts less likely.
40- more-timeout : 2000
44+ more-timeout : 2500
4145
4246# Build settings
4347error_mode : strict
0 commit comments