Skip to content
  • aguestuser's avatar
    [hf] pass tx to events.log correctly to fix registrar.destroy · 81e6cfd6
    aguestuser authored
    * BUG SYMPTOM: phoneNumberRegistrar.destroy is hanging while trying to
      destroy the channel
    * CAUSE: not clear but likely something going on with deadlock. we'd
      assumed it was something to do with the call to `channel.destroy`,
      but perhaps it is in fact to do with the call to
      `eventsRepository.log`, which was passing `transaction` as an
      attribute to the event it was creating, and not as an option
    * FIX: try correcting the syntax to see if it elimiantes the timeout
    81e6cfd6