code: def process_points(client, data):  # pragma: no cover
      
      try:
          client.write_points(data)
      except Exception:
          if getattr(settings, 'INFLUXDB_FAIL_SILENTLY', True):
              logger.exception('Error while writing data points')
          else:
              raise
docs: Method to be called via threading module.