File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/client/lib/client Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ export default class EnterpriseMaintenanceManager {
181
181
dbgMaintenance ( "Pausing writing of new commands to old socket" ) ;
182
182
this . #client. _pause ( ) ;
183
183
184
+ dbgMaintenance ( "Creating new tmp client" ) ;
185
+ const start = performance . now ( ) ;
184
186
const tmpClient = this . #client. duplicate ( {
185
187
maintPushNotifications : "disabled" ,
186
188
socket : {
@@ -189,7 +191,7 @@ export default class EnterpriseMaintenanceManager {
189
191
port,
190
192
} ,
191
193
} ) ;
192
-
194
+ dbgMaintenance ( `Tmp client created in ${ ( performance . now ( ) - start ) . toFixed ( 2 ) } ms` ) ;
193
195
dbgMaintenance ( `Connecting tmp client: ${ host } :${ port } ` ) ;
194
196
await tmpClient . connect ( ) ;
195
197
dbgMaintenance ( `Connected to tmp client` ) ;
You can’t perform that action at this time.
0 commit comments