Improve log
This commit is contained in:
parent
440d01c552
commit
e069e196af
|
@ -29,7 +29,7 @@ internal class InitialSyncResponseParser @Inject constructor(private val moshi:
|
||||||
|
|
||||||
fun parse(syncStrategy: InitialSyncStrategy.Optimized, workingFile: File): SyncResponse {
|
fun parse(syncStrategy: InitialSyncStrategy.Optimized, workingFile: File): SyncResponse {
|
||||||
val syncResponseLength = workingFile.length().toInt()
|
val syncResponseLength = workingFile.length().toInt()
|
||||||
Timber.v("Sync file size is $syncResponseLength bytes")
|
Timber.v("INIT_SYNC Sync file size is $syncResponseLength bytes")
|
||||||
val shouldSplit = syncResponseLength >= syncStrategy.minSizeToSplit
|
val shouldSplit = syncResponseLength >= syncStrategy.minSizeToSplit
|
||||||
Timber.v("INIT_SYNC should split in several files: $shouldSplit")
|
Timber.v("INIT_SYNC should split in several files: $shouldSplit")
|
||||||
return getMoshi(syncStrategy, workingFile, shouldSplit)
|
return getMoshi(syncStrategy, workingFile, shouldSplit)
|
||||||
|
|
Loading…
Reference in New Issue