message: Set inactive flag in charger to 2 times the OCPP soap interval
diff: @@ -452,7 +452,12 @@ export default class DatabaseUtils {
  inactive: {
  $or: [
  { $eq: ['$firmwareUpdateStatus', OCPPFirmwareStatus.INSTALLING] },
  - { $gte: [ { $divide: [{ $subtract: [new Date(), '$lastSeen'] }, 1000] }, 120 ] }
  + {
  + $gte: [
  + { $divide: [{ $subtract: [new Date(), '$lastSeen'] }, 1000] },
  + Configuration.getChargingStationConfig().heartbeatIntervalOCPPSSecs * 2
  + ]
  + }
  ]
  }
  }
  