[*] 日常优化
This commit is contained in:
@@ -28,9 +28,9 @@ Android >= 9.0
|
|||||||
|
|
||||||
### 硬盘分区
|
### 硬盘分区
|
||||||
|
|
||||||
* / = 5G
|
* / = 8G
|
||||||
* swap = 2G
|
* swap = 2G
|
||||||
* /data = 15G
|
* /data = 16G
|
||||||
|
|
||||||
### 选择并安装软件很慢
|
### 选择并安装软件很慢
|
||||||
|
|
||||||
|
|||||||
@@ -37,9 +37,10 @@ public class SessionManager {
|
|||||||
* @return 会话
|
* @return 会话
|
||||||
*/
|
*/
|
||||||
public Session call(Client source, Client target) {
|
public Session call(Client source, Client target) {
|
||||||
final Session session = new Session(this.idService.buildUuid(), source, target);
|
final String sessionId = this.idService.buildUuid();
|
||||||
this.sessions.put(session.getId(), session);
|
final Session session = new Session(sessionId, source, target);
|
||||||
log.info("创建会话:{} - {} - {}", session.getId(), session.getSourceClientId(), session.getTargetClientId());
|
this.sessions.put(sessionId, session);
|
||||||
|
log.info("创建会话:{} - {} - {}", sessionId, session.getSourceClientId(), session.getTargetClientId());
|
||||||
return session;
|
return session;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user