fix(agents): share runtimes across connection sessions
This commit is contained in:
1 parent
1280450b98
commit
67541232a2
67 files changed
+2904
-354
No files matched your search
@@ -2,7 +2,7 @@ package com.dbx.agent.firebird;
|
||||
|
||||
import com.dbx.agent.ConfiguredJdbcAgent;
|
||||
import com.dbx.agent.JdbcAgentProfile;
|
||||
import com.dbx.agent.JsonRpcServer;
|
||||
import com.dbx.agent.MultiSessionJsonRpcServer;
|
||||
|
||||
public final class FirebirdAgent extends ConfiguredJdbcAgent {
|
||||
public static final JdbcAgentProfile FIREBIRD_PROFILE = new JdbcAgentProfile(
|
||||
@@ -17,6 +17,6 @@ public final class FirebirdAgent extends ConfiguredJdbcAgent {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new JsonRpcServer(new FirebirdAgent()).run();
|
||||
new MultiSessionJsonRpcServer(FirebirdAgent::new).run();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user