Remove explicit agents
This commit is contained in:
parent
db14945884
commit
46024f8310
@ -47,11 +47,6 @@ public class TDLibRemoteClient implements AutoCloseable {
|
|||||||
private final Set<String> membersAddresses;
|
private final Set<String> membersAddresses;
|
||||||
private final AtomicReference<TdClusterManager> clusterManager = new AtomicReference<>();
|
private final AtomicReference<TdClusterManager> clusterManager = new AtomicReference<>();
|
||||||
|
|
||||||
public static boolean runningFromIntelliJ() {
|
|
||||||
return System.getProperty("java.class.path").contains("idea_rt.jar")
|
|
||||||
|| System.getProperty("idea.test.cyclic.buffer.size") != null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public TDLibRemoteClient(@Nullable SecurityInfo securityInfo,
|
public TDLibRemoteClient(@Nullable SecurityInfo securityInfo,
|
||||||
String masterHostname,
|
String masterHostname,
|
||||||
String netInterface,
|
String netInterface,
|
||||||
@ -65,10 +60,6 @@ public class TDLibRemoteClient implements AutoCloseable {
|
|||||||
this.port = port;
|
this.port = port;
|
||||||
this.membersAddresses = membersAddresses;
|
this.membersAddresses = membersAddresses;
|
||||||
|
|
||||||
if (enableAsyncStacktraces && !runningFromIntelliJ()) {
|
|
||||||
//noinspection ReactorAutomaticDebugger
|
|
||||||
ReactorDebugAgent.init();
|
|
||||||
}
|
|
||||||
if (enableAsyncStacktraces && enableFullAsyncStacktraces) {
|
if (enableAsyncStacktraces && enableFullAsyncStacktraces) {
|
||||||
RxJava2Debug.enableRxJava2AssemblyTracking(new String[]{"it.tdlight.utils", "it.tdlight.tdlibsession"});
|
RxJava2Debug.enableRxJava2AssemblyTracking(new String[]{"it.tdlight.utils", "it.tdlight.tdlibsession"});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user