[Daemon] Improve daemon connection algorithm
Before this change, the logic was to find the most suitable daemon and try connecting to it in a loop, ignoring the fact that it could be dying. Now, instead of trying to connect to the daemon dying daemon in a loop, we will make only 1 attemp and then skip if it's already dying. ^KT-55322 In Progress
This commit is contained in:
committed by
Space Team
parent
44d6807aba
commit
8ceee3e8b9
+1
-1
@@ -39,7 +39,7 @@ interface CompileService : Remote {
|
||||
}
|
||||
|
||||
companion object {
|
||||
val NO_SESSION: Int = 0
|
||||
const val NO_SESSION: Int = 0
|
||||
}
|
||||
|
||||
sealed class CallResult<out R> : Serializable {
|
||||
|
||||
Reference in New Issue
Block a user