exports.default = {
  app: {
    orphanRecordsAdopter: process.env.ORPHAN_OWNER,
    latKilometersPerDegree: 111.195,
    lonKilometersPerDegree: 82.445,
    location: {
      // max distance to consider a point belonging to a city
      maxDistance: 50000,
      // max records per task
      maxRecords: 10
    }
  }
}

exports.test = {
  app: {
    orphanRecordsAdopter: 'adopt@smartbirds.com'
  }
}

exports.default = {
  app: {
    orphanRecordsAdopter: process.env.ORPHAN_OWNER,
    location: {
      // max distance to consider a point belonging to a city
      maxDistance: process.env.AUTO_LOCATION_MAX_DISTANCE || 100000,
      // max records per task
      maxRecords: process.env.AUTO_LOCATION_MAX_RECORDS || 10
    }
  }
}

exports.test = {
  app: {
    orphanRecordsAdopter: 'adopt@smartbirds.com'
  }
}

Allow env override of autoLocation parameters and increase max distance to 100km
Allow env override of autoLocation parameters and increase max distance to 100km
