From c192126a1b954a72d87f73c6ca372b7398498691 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Wed, 22 Apr 2020 13:28:47 +0300 Subject: follow-up fixes after 16416 --- include/mbgl/style/source.hpp | 5 +++-- test/storage/online_file_source.test.cpp | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbgl/style/source.hpp b/include/mbgl/style/source.hpp index e6208294ca..eada63d12d 100644 --- a/include/mbgl/style/source.hpp +++ b/include/mbgl/style/source.hpp @@ -82,8 +82,9 @@ public: optional getPrefetchZoomDelta() const noexcept; // If the given source supports loading tiles from a server, - // sets the minimum tile update interval, which is used to - // throttle the tile update network requests. + // sets the minimum tile update interval. + // Update network requests that are more frequent than the + // minimum tile update interval are suppressed. // // Default value is `Duration::zero()`. void setMinimumTileUpdateInterval(Duration) noexcept; diff --git a/test/storage/online_file_source.test.cpp b/test/storage/online_file_source.test.cpp index 050b9d0f3f..6aba83de09 100644 --- a/test/storage/online_file_source.test.cpp +++ b/test/storage/online_file_source.test.cpp @@ -229,7 +229,6 @@ TEST(OnlineFileSource, TEST_REQUIRES_SERVER(RespectMinimumUpdateInterval)) { std::unique_ptr req = fs->request(resource, [&](Response) { auto wait = util::now() - start; EXPECT_GE(wait, resource.minimumUpdateInterval); - EXPECT_LT(wait, resource.minimumUpdateInterval + Milliseconds(10)); loop.stop(); }); -- cgit v1.2.1