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 {
181181 dbgMaintenance ( "Pausing writing of new commands to old socket" ) ;
182182 this . #client. _pause ( ) ;
183183
184+ dbgMaintenance ( "Creating new tmp client" ) ;
185+ const start = performance . now ( ) ;
184186 const tmpClient = this . #client. duplicate ( {
185187 maintPushNotifications : "disabled" ,
186188 socket : {
@@ -189,7 +191,7 @@ export default class EnterpriseMaintenanceManager {
189191 port,
190192 } ,
191193 } ) ;
192-
194+ dbgMaintenance ( `Tmp client created in ${ ( performance . now ( ) - start ) . toFixed ( 2 ) } ms` ) ;
193195 dbgMaintenance ( `Connecting tmp client: ${ host } :${ port } ` ) ;
194196 await tmpClient . connect ( ) ;
195197 dbgMaintenance ( `Connected to tmp client` ) ;
You can’t perform that action at this time.
0 commit comments