Open imansdn opened 1 year ago
recently users reported to us that the Application is consuming their data traffic excessively, after investigating and measuring it multiple times we found out this is causing due to this config:
FetchConfiguration.Builder(context) .setDownloadConcurrentLimit(DOWNLOAD_CONCURRENT_LIMIT) .setProgressReportingInterval(PROGRESS_REPORTING_INTERVAL) .enableRetryOnNetworkGain(true) .setAutoRetryMaxAttempts(AUTO_RETRY_MAX_ATTEMPT) .enableAutoStart(true).setHttpDownloader( OkHttpDownloader( okHttpClient, Downloader.FileDownloaderType.PARALLEL ) ).build()
Finally, I figured out that removing the Downloader.FileDownloaderType.PARALLEL from the okHttp config resolves the issue.
Downloader.FileDownloaderType.PARALLEL
consuming the network data about 5 times more than the actual size is an important issue and I hope to see the fix in the next versions.
Cheers!
recently users reported to us that the Application is consuming their data traffic excessively, after investigating and measuring it multiple times we found out this is causing due to this config:
Finally, I figured out that removing the
Downloader.FileDownloaderType.PARALLEL
from the okHttp config resolves the issue.consuming the network data about 5 times more than the actual size is an important issue and I hope to see the fix in the next versions.
Cheers!