diff options
-rw-r--r-- | include/mbgl/style/source.hpp | 5 | ||||
-rw-r--r-- | 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<uint8_t> 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<AsyncRequest> req = fs->request(resource, [&](Response) { auto wait = util::now() - start; EXPECT_GE(wait, resource.minimumUpdateInterval); - EXPECT_LT(wait, resource.minimumUpdateInterval + Milliseconds(10)); loop.stop(); }); |