mx-api-service icon indicating copy to clipboard operation
mx-api-service copied to clipboard

add the nft processing queue name in configs

Open cfaur09 opened this issue 1 year ago • 2 comments

Reasoning

  • At the moment the queue: 'api-process-nfts' is hardcoded in the code and the same rabbitmq cannot be used by 2 different api setups

Proposed Changes

  • Add the queue name for nft process queue in configs

cfaur09 avatar May 15 '24 07:05 cfaur09

Hello, I still think there needs to be done some concatetation for the deadLetterExchange as it remained hardcoded

https://github.com/multiversx/mx-api-service/blob/5b0d9f1a7a976cb4c4e44116da8c1572d6337ac6/src/main.ts#L129 https://github.com/multiversx/mx-api-service/blob/5b0d9f1a7a976cb4c4e44116da8c1572d6337ac6/src/queue.worker/nft.worker/nft.worker.module.ts#L35

IosifGabriel avatar May 16 '24 07:05 IosifGabriel

Hello, I still think there needs to be done some concatetation for the deadLetterExchange as it remained hardcoded

https://github.com/multiversx/mx-api-service/blob/5b0d9f1a7a976cb4c4e44116da8c1572d6337ac6/src/main.ts#L129

https://github.com/multiversx/mx-api-service/blob/5b0d9f1a7a976cb4c4e44116da8c1572d6337ac6/src/queue.worker/nft.worker/nft.worker.module.ts#L35

Solved 🟢

cfaur09 avatar May 16 '24 08:05 cfaur09