ConservationMetrics / mapgl-tile-renderer

Headless Node.js Maplibre-GL renderer for generating MBTiles with styled raster tiles.
MIT License
11 stars 3 forks source link

[ASQ] Improve worker application flow to handle invalid map requests #57

Closed rudokemper closed 2 months ago

rudokemper commented 3 months ago

Currently, the code for the Azure Storage Queue service is written in such a way that if a mapgl-tile-renderer worker receives a message that it cannot process due to invalid input options, it maintains a claim on the message but does not perform any further actions (such as deleting the message). This is causing deployment issues where phantom messages remain in the queue, unprocessed by the workers. Let's improve this by deleting the message from the queue and logging the event.