[Fix]解决乘客屏断线重连的Bug

原因:以前Client断线重连机制是基于Server不变的情况下,直接取内存中缓存的之前连接成功的Server端ip,
而实际上司机屏断线重连后ip改变了
This commit is contained in:
chenfufeng
2022-08-29 15:57:33 +08:00
parent 02fc359dbb
commit db14b0483d
5 changed files with 99 additions and 28 deletions

View File

@@ -74,10 +74,14 @@ ext {
spi : 'com.elegant.spi:api:1.0.9.1' ,//运行时spi库
//========================== ProtoBuf =======================
protoc : "com.google.protobuf:protoc:3.12.4",
protoc : !isM1Chip() ? "com.google.protobuf:protoc:3.12.4" : "com.google.protobuf:protoc:3.12.4:osx-x86_64",
protobuf_java : "com.google.protobuf:protobuf-java:3.12.4",
protobuf_java_util : "com.google.protobuf:protobuf-java-util:3.12.4",
]
}
boolean isM1Chip() {
return System.getProperty("os.name").contains("Mac") && System.getProperty("os.arch") == "aarch64"
}