Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug(PayInAdvance) - Add dedicated lock_key_arguments for pay in advan…
…ce jobs (#2755) After adding the `PreciseTotalAmountCents` to Clickhouse, we now have discrepancies between event json. The one coming from Kafka always has "0.0" set for precise total amount cents while the ruby one has nil. This causes 2 duplicate invoice jobs to be enqueued for the same event. The uniqueness key compared all arguments to the job. The fix is to limit what is used as lock_key via the `lock_key_arguments` method.
- Loading branch information