mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't ask check productionServerUrl on init (EA-890991 T: HttpRequests.process)
GitOrigin-RevId: fb7f94a943a4719c6256ae0cc5c6159562dc9264
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a09e0e1b5f
commit
ad42c64a20
+2
-2
@@ -28,10 +28,10 @@ internal const val SETTINGS_SYNC_SNAPSHOT_ZIP = "$SETTINGS_SYNC_SNAPSHOT.zip"
|
||||
private const val CONNECTION_TIMEOUT_MS = 10000
|
||||
private const val READ_TIMEOUT_MS = 50000
|
||||
|
||||
internal open class CloudConfigServerCommunicator(serverUrl: String = defaultUrl) : SettingsSyncRemoteCommunicator {
|
||||
internal open class CloudConfigServerCommunicator(serverUrl: String? = null) : SettingsSyncRemoteCommunicator {
|
||||
|
||||
internal open val client get() = _client.value
|
||||
private val _client = lazy { createCloudConfigClient(serverUrl, clientVersionContext) }
|
||||
private val _client = lazy { createCloudConfigClient(serverUrl ?: defaultUrl, clientVersionContext) }
|
||||
protected val clientVersionContext = CloudConfigVersionContext()
|
||||
|
||||
private val lastRemoteErrorRef = AtomicReference<Throwable>()
|
||||
|
||||
Reference in New Issue
Block a user