optimize connections

This commit is contained in:
huoyo 2022-06-01 10:51:19 +08:00
parent 37978af2d5
commit 57f9cda04f

View File

@ -46,6 +46,12 @@ public class DataBase implements GraphService {
}
})
);
initConnection();
}
public void initConnection() {
getReadConnection();
getWriteConnection();
}
public Connection getReadConnection() {