TP-85576 | Owais | socket exception (#255)

This commit is contained in:
Sayed Owais Ali
2024-10-21 13:52:18 +05:30
committed by GitHub
parent cc85849a18
commit 1e4976effb
2 changed files with 4 additions and 6 deletions

View File

@@ -86,9 +86,8 @@ object AlfredFailureRetrofitProvider {
}
addInterceptor(networkInterceptor)
addInterceptor(
alfredResourceManagerInterceptor.resourceManagerNetworkInterceptor
)
connectionPool(ConnectionPool(0, 5, TimeUnit.MINUTES))
alfredResourceManagerInterceptor.resourceManagerNetworkInterceptor
)
.protocols(listOf(Protocol.HTTP_1_1))
}
.build()

View File

@@ -90,9 +90,8 @@ object AlfredRetrofitProvider {
}
addInterceptor(networkInterceptor)
addInterceptor(
alfredResourceManagerInterceptor.resourceManagerNetworkInterceptor
)
connectionPool(ConnectionPool(0, 5, TimeUnit.MINUTES))
alfredResourceManagerInterceptor.resourceManagerNetworkInterceptor
)
.protocols(listOf(Protocol.HTTP_1_1))
}
.build()