dzcode-io / dzcode.io

Website for Algerian open-source community
https://dzcode.io
MIT License
117 stars 41 forks source link

Fixed bug where projects endpoint stuck #581

Closed ZibanPirate closed 1 year ago

ZibanPirate commented 1 year ago

and made /project endpoint fail gracefully when rich info fetching fails.

the bug was caused by a duplicate delete statement here, that keeps eating the queue 2x faster, therefor when we have two parallel fetches, the last added fetch request never get fulfilled because it was deleted from the queue before it was processed. fixed in a9ee14372ce6aa34a87b6faae4fa20f6940dc6dd

Type of change