hyperfiddle-2020 icon indicating copy to clipboard operation
hyperfiddle-2020 copied to clipboard

race condition in `with-entity-change-route!

Open dustingetz opened this issue 4 years ago • 3 comments

If you beat the server, you can clobber the last entry

dustingetz avatar Jun 21 '20 16:06 dustingetz

multi-pickers can easily reproduce this race condition in everyday happy-path usage Apparently this transaction confuses the server, why can we see :riverside ?

image

dustingetz avatar Jul 17 '20 17:07 dustingetz

https://github.com/hyperfiddle/hyperfiddle/issues/637

dustingetz avatar Jul 19 '20 19:07 dustingetz

Shouldn't requests

  • be debounced at the HTTP client level
  • wait for the response to come back before sending the next request
  • only keep the last route change? (dropping buffer of size 1)

ggeoffrey avatar Aug 24 '20 09:08 ggeoffrey