Repository navigation
Async external storage status checking - #13515
RobinMcCorkell wants to merge 1 commit into
Conversation
When loading the settings when external storages are configured, the storage status check now happens via AJAX calls rather than synchronous while the page is loading. This makes the settings nice and fast, even if some storages are down and timeout (slowly).
94ae8e7 to
e975a04
Compare
|
The inspection completed: 4 new issues, 1 updated code elements |
|
Refer to this link for build results (access rights to CI server needed): |
|
@Xenopathic the related PR was merged, you might want to continue ? |
There was a problem hiding this comment.
GET would be more appropriate ?
I guess you also want to use the new AjaxController for that ?
|
The non-ajax code changes looks good. 😄 |
|
Indeed, this needs a complete refactor to transition to the App Framework. |
|
I just realized that it might be painful in the ajax call to resend the whole config to check the backend status. Also, this will be replaced by a hopefully real id here: #11884 For simplicity, you might want to adapt your changes and push them directly in this PR #11884 where you can use the id (no config juggling needed). Might be easier than doing a detour here and adapt later. |
|
@PVince81 Good idea, this would require a rewrite to work with the AppController anyway, so might as well save the effort and merge it into your PR. |
When loading the settings when external storages are configured, the storage status check now happens via AJAX calls rather than synchronous while the page is loading. This makes the settings nice and fast, even if some storages are down and timeout (slowly).
Fixes #11833
cc @LukasReschke @icewind1991 @PVince81