stf icon indicating copy to clipboard operation
stf copied to clipboard

question about agent relaunched

Open pflhm2005 opened this issue 7 years ago • 0 comments

Hi, I wonder why agent relaunch call function openService but not openAgent? Reference code locate at /lib/units/device/plugins/service.js#L245.

function prepareForAgentDeath(conn) {
      function endListener() {
        var startTime = Date.now()
        log.important('Agent connection ended, attempting to relaunch')
        openService().then()
         //...
    }
}

pflhm2005 avatar Jan 21 '19 04:01 pflhm2005