title: How to set a different connection timeout for specific service in OkHttp 3?
body: <p>In my application, all my services has <code>60 seconds connection timeout</code> except one service has 3 minutes. However I can only set one timeout for OkHttp 3? Is it possible to set 180 seconds for that <code>specific service</code>?</p>
  
  <pre><code>OkHttpClient.Builder okHttpClient = newOkHttpClient.Builder()
  
                  .connectTimeout(60, TimeUnit.SECONDS)
                  .readTimeout(60, TimeUnit.SECONDS)
                  .writeTimeout(60, TimeUnit.SECONDS)
  </code></pre>
  
  <p>retrofit:</p>
  
  <pre><code>retrofit = new Retrofit.Builder()
                      .baseUrl(baseUrl)
                      .client(okHttpClient.build())
                      .addConverterFactory(GsonConverterFactory.create())
                      .build();
  </code></pre>