Closed AgrimPrasad closed 5 years ago
https://github.com/streadway/amqp/issues/318 and https://github.com/streadway/amqp/issues/327 added locks for ack/nack but there's still no lock for reject: https://github.com/streadway/amqp/blob/27835f1a64e97101d95306211f03c0620ffa295d/channel.go#L1582-L1587
Is there any reason for this or is it okay if I create a PR to fix this?
No particular reason. Please submit a PR.
Sure, created #375
Addressed in #375, thank you @AgrimPrasad.
https://github.com/streadway/amqp/issues/318 and https://github.com/streadway/amqp/issues/327 added locks for ack/nack but there's still no lock for reject: https://github.com/streadway/amqp/blob/27835f1a64e97101d95306211f03c0620ffa295d/channel.go#L1582-L1587
Is there any reason for this or is it okay if I create a PR to fix this?