Skip to content

Commit d830bd7

Browse files
authored
refactor: API Call Latency 늘리기
refactor: API Call Latency 늘리기
2 parents f3ca869 + 1a712a8 commit d830bd7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/src/main/java/com/betterlife/antifragile/config/RetrofitInterface.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ object RetrofitInterface {
2626
private fun getClient(
2727
context: Context): OkHttpClient {
2828
val builder = OkHttpClient.Builder()
29-
.readTimeout(5000, TimeUnit.MILLISECONDS)
30-
.connectTimeout(5000, TimeUnit.MILLISECONDS)
29+
.readTimeout(50000, TimeUnit.MILLISECONDS)
30+
.connectTimeout(50000, TimeUnit.MILLISECONDS)
3131
.addInterceptor(HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY))
3232

3333
val authInterceptor = AuthInterceptor(context, TokenManager, authApiService)

app/src/main/java/com/betterlife/antifragile/presentation/util/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package com.betterlife.antifragile.presentation.util
22

33
object Constants {
44

5-
const val BASE_URL = "https://prod.better-life-api.com"
5+
const val BASE_URL = "https://dev.better-life-api.com"
66
}

0 commit comments

Comments
 (0)