How not to use a background job in a transaction
In modern web applications, transactions and background jobs play an important role to ensure consistency and performance. But sometimes if not used wisely and carefully can end up creating bugs that are difficult to identify in a big…