Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Zatsepin <alexzatsepin@users.noreply.github.com>2017-04-21 10:24:05 +0300
committerGitHub <noreply@github.com>2017-04-21 10:24:05 +0300
commita395f671a8f7fa94d43e0d0413d940e3c88ebd6a (patch)
treece255502896901e9647a1d90b7e7e9b91573db73
parent39777f251455d2d47304851b8e3f095caca63a53 (diff)
parent95e14318fca4e82127ae456dfe606d2f1d4e570d (diff)
Merge pull request #5879 from alexzatsepin/MAPSME-4330-reduce-request-time-for-adsbeta-775
[android] Reduced request time for native ads
-rw-r--r--android/src/com/mapswithme/maps/ads/CachingNativeAdLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/ads/CachingNativeAdLoader.java b/android/src/com/mapswithme/maps/ads/CachingNativeAdLoader.java
index 84e3f0a2b6..eaa54b5f5a 100644
--- a/android/src/com/mapswithme/maps/ads/CachingNativeAdLoader.java
+++ b/android/src/com/mapswithme/maps/ads/CachingNativeAdLoader.java
@@ -19,7 +19,7 @@ abstract class CachingNativeAdLoader extends BaseNativeAdLoader
{
private static final Logger LOGGER = LoggerFactory.INSTANCE.getLogger(LoggerFactory.Type.MISC);
private static final String TAG = CachingNativeAdLoader.class.getSimpleName();
- private static final long REQUEST_INTERVAL_MS = 30 * 1000;
+ private static final long REQUEST_INTERVAL_MS = 5 * 1000;
private static final Map<BannerKey, CachedMwmNativeAd> CACHE = new HashMap<>();
private static final Set<BannerKey> PENDING_REQUESTS = new HashSet<>();