code: function attemptPing (db, job, webhookOptions) {
    if (!(typeof webhookOptions === 'object')) {
      throw new Error('No webhook is configured.')
    }
  
    return webhook.ping(job, webhookOptions)
      .then(response => {
        return _logPing(db, job.id, response)
          .then(function () {
            return response
          })
      })
  }
docs: ======= PINGING =======