From 9b7c34d2c657914532707204bb608e89e67f0cc0 Mon Sep 17 00:00:00 2001 From: kfiroo Date: Sat, 5 Aug 2017 13:51:58 +0300 Subject: [PATCH] added logs to make sure preloader respects numberOfConcurrentPreloads option --- CachedImageExample/index.js | 3 ++- ImageCachePreloader.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CachedImageExample/index.js b/CachedImageExample/index.js index 5f00306..154c91e 100644 --- a/CachedImageExample/index.js +++ b/CachedImageExample/index.js @@ -159,7 +159,8 @@ class CachedImageExample extends React.Component { ReactNative.Alert.alert('onPreloadComplete')} - ttl={60}> + ttl={60} + numberOfConcurrentPreloads={0}> { + // console.log('END', url); + // }) // then run next task .then(() => runPreloadTask(prefetcher, imageCacheManager)); }