strozzi1 / Libari

Libari is your personal Library Diary. A refined website for tracking your book reading habits.
https://libari.app
1 stars 0 forks source link

Image-worker Polish #54

Open strozzi1 opened 1 year ago

strozzi1 commented 1 year ago

When the microservice is idle for too long, polling the empty queue too long causes a crash.

Image

strozzi1 commented 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.

strozzi1 commented 1 year ago

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: