Page MenuHomePhabricator

[frontend] Implement timeout for faster failing
Closed, ResolvedPublic

Description

While investigating T333016 I determined that the main reason that the error messages were taking so long to show up was that the requests to the API were failing at a glacial pace. Imagine my delight to discover the timeout option in Axios which, when added to our GET requests, will get those error messages popping up (almost) immediately. (I've set it to a 2-second timeout, which is probably longer than it needs to be.)