dwbrite / website-rs

what if I purpose-built a webserver in rust just for dwbrite.com?
4 stars 0 forks source link

Fallible Media-Loading / "Starts too fast" #13

Closed dwbrite closed 3 months ago

dwbrite commented 7 months ago

When deploying onto a cluster using istio-proxy, the server attempts and fails to load media for templating into blog posts. This is because istio-proxy takes a few seconds to initialize after the main container starts, and the server attempts to get media metadata from media.dwbrite.com immediately.

media-templating should either have some retry attempts (<30s), or the server should wait for a WAN connection before initializing rocket.

dwbrite commented 3 months ago

solved by https://github.com/dwbrite/website-rs/commit/f5cd31248898eb5be4f5c8ca223aa16c00959c0c