Open strozzi1 opened 1 year ago
Issue could just be caused simply by my running the microservice locally on my machine which has variable connection to the SQS servers. When I leave the internet, the polling will crash as it can't reach SQS servers. STILL, I want it to crash gracefully and maybe even save itself from crashing, if at all possible.
https://asanchez.dev/blog/amazon-s3-v2-golang/ https://marcioghiraldelli.medium.com/elegant-use-of-golang-channels-with-aws-sqs-dad20cd59f34
Also, change the resize library to one actively being maintained:
When the microservice is idle for too long, polling the empty queue too long causes a crash.