mirror of
https://gitee.com/huoyo/ko-time.git
synced 2025-12-06 08:48:30 +08:00
optimize connections
This commit is contained in:
parent
37978af2d5
commit
57f9cda04f
@ -46,6 +46,12 @@ public class DataBase implements GraphService {
|
||||
}
|
||||
})
|
||||
);
|
||||
initConnection();
|
||||
}
|
||||
|
||||
public void initConnection() {
|
||||
getReadConnection();
|
||||
getWriteConnection();
|
||||
}
|
||||
|
||||
public Connection getReadConnection() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user