File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
src/main/java/io/split/engine/common Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 171171 <dependency >
172172 <groupId >org.apache.httpcomponents.client5</groupId >
173173 <artifactId >httpclient5</artifactId >
174- <version >5.5</version >
175- </dependency >
176- <dependency >
177- <groupId >org.apache.httpcomponents.core5</groupId >
178- <artifactId >httpcore5</artifactId >
179- <version >5.3.5</version >
174+ <version >5.4.1</version >
180175 </dependency >
181176 <dependency >
182177 <groupId >com.google.code.gson</groupId >
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ public void start() {
129129 public void stop () {
130130 try {
131131 lock .lock ();
132+ _log .debug ("Stopping PushManagerImp" );
132133 cleanUpResources ();
133134 } catch (Exception e ) {
134135 _log .debug ("Exception in stopping push manager: " + e .getMessage ());
@@ -141,6 +142,7 @@ public void stop() {
141142 public void scheduleConnectionReset () {
142143 _log .debug (String .format ("scheduleNextTokenRefresh in %s SECONDS" , _expirationTime ));
143144 _nextTokenRefreshTask = _scheduledExecutorService .schedule (() -> {
145+ _log .debug ("Starting scheduleNextTokenRefresh ..." );
144146 stop ();
145147 start ();
146148 }, _expirationTime .get (), TimeUnit .SECONDS );
@@ -180,6 +182,7 @@ private void cleanUpResources() {
180182 _eventSourceClient .stop ();
181183 stopWorkers ();
182184 if (_nextTokenRefreshTask != null ) {
185+ _log .debug ("Cancel nextTokenRefreshTask" );
183186 _nextTokenRefreshTask .cancel (false );
184187 }
185188 }
Original file line number Diff line number Diff line change 5555 <dependency >
5656 <groupId >org.apache.httpcomponents.client5</groupId >
5757 <artifactId >httpclient5</artifactId >
58- <version >5.5</version >
59- </dependency >
60- <dependency >
61- <groupId >org.apache.httpcomponents.core5</groupId >
62- <artifactId >httpcore5</artifactId >
63- <version >5.3.5</version >
58+ <version >5.4.1</version >
6459 </dependency >
6560 <!-- Test deps -->
6661 <dependency >
You can’t perform that action at this time.
0 commit comments