-
Task
-
Resolution: Obsolete
-
Major
-
4.2.0.Alpha1
-
None
With the large speed increases in jbt's RSE integration, the new bottleneck is during the beginning of the publish event.
A block of code currently exists as follows:
boolean isConnected = fileSubSystem != null && fileSubSystem.isConnected(); String connectionName = RSEUtils.getRSEConnectionName(behaviour.getServer()); if( isConnected ) { // The RSE tools might be mistaken here. The user may in fact have lost internet connectivity NamedRunnableWithProgress run = new NamedRunnableWithProgress("Accessing Remote System Root") { public Object run(IProgressMonitor monitor) throws CoreException, SystemMessageException, RuntimeException { getFileService().getRoots(monitor); return Status.OK_STATUS; } }; IProgressMonitor childMonitor = AbstractServerToolsPublisher.getSubMon(monitor, 100); Exception e = RSERemotePublishHandler.wrapRemoteCallStatusTimeLimit(run, "null", "null", null, 15000, childMonitor);
It would seem strange for the rse's isConnected() method to be incorrect. Investigate whether it is still possible it is incorrect, and file an appropriate upstream bug, or, if no bug, simply remove the lines and improve speed.
- relates to
-
JBIDE-12046 [maintenance] Inform users that their remote servers are unreachable rather than wait for what breaks first
- Closed