code: function determineWorkerENV(worker) {
          const options = {};
  
          if (worker.service_context) {
              const envConfig = JSON.parse(worker.service_context);
              _.assign(options, envConfig);
              options.__process_restart = true;
              options.service_context = worker.service_context;
          }
  
          return options;
      }
docs: assignment is set at /lib/api/start_workers