News for hackers. Stuff that matters.
Re:A Real World React – Htmx Port by withinboredom on Sunday October 16, 2022 @04:19AM (#33222037)
I hate it when devs implement their own timeouts. That’s handled at the network level, and the socket knows if progress is being made. I was stuck using 2G data speeds for a couple of years and I loathed this behavior.
Re:A Real World React – Htmx Port by ahungry on Monday October 17, 2022 @06:31PM (#33240353)
Sometimes the infrastructure causes this. For a long time (and now?) AWS Api Gateway has a hard cap of 30 seconds, so the sum of all hops along the way need to remain under that.
Re:A Real World React – Htmx Port by withinboredom on Tuesday October 18, 2022 @03:55AM (#33244282)
A timeout at that level should mean “no progress” for 30s, not that a request/response needs to finish in 30s. An naive timeout that a dev randomly implements might be the latter and would be the source of my past frustration.