Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
var secrets = require('@instana/core').secrets;
var tracing = require('@instana/core').tracing;
var logger;
logger = require('../logger').getLogger('announceCycle/unannounced', function(newLogger) {
logger = newLogger;
});
var agentConnection = require('../agentConnection');
var agentOpts = require('../agent/opts');
var pidStore = require('../pidStore');
var retryDelay = 60 * 1000;
module.exports = {
enter: function(ctx) {
tryToAnnounce(ctx);
},