Skip to content Skip to sidebar Skip to footer

Handling Load Timeouts Of A View In A Durandal App

I've got a Durandal app that will periodically timeout when attempting to load a view. Here's an example timeout error: Error: Load timeout for modules: text!views/primaryapplican

Solution 1:

I sometimes have the same issue. For me, it usually happens when another asynchronous request is blocking the server (that can handle only one request at a time on my dev machine) and a view is requested.

I don't know yet how to catch this, but in order to increase/disable the timeout:

requirejs.config({
    waitSeconds: 0// 0 disables the timeout completely, default is 7 seconds
});

Post a Comment for "Handling Load Timeouts Of A View In A Durandal App"