Skip to content

Commit

Permalink
decrease api timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Sep 12, 2021
1 parent b1748e3 commit 8de2a35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import io.ktor.http.ContentType
import kotlinx.serialization.json.Json
import org.koin.dsl.module

private const val TIME_OUT: Long = 5000
private const val TIME_OUT: Long = 3000

val apiModule = module {
single { provideSerializer() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ internal fun CurrencyResponse.toOfflineRates() = OfflineRates(
rates.uzs, rates.ves, rates.vnd, rates.vuv, rates.wst, rates.xaf, rates.xag, rates.xau,
rates.xcd, rates.xdr, rates.xof, rates.xpd, rates.xpf, rates.xpt, rates.yer, rates.zar,
rates.zmw, rates.zwl
)
)

0 comments on commit 8de2a35

Please sign in to comment.