如何在 fluxible fethr 应用程序中增加 ajax 请求超时长度?
How to increase ajax request timeout length in a fluxible fetchr application?
我正在使用 yahoo 的 fluxible 和 fethr,请求服务调用偶尔会超时。如何在我的配置中增加 ajax 请求超时时间?
基于查看 lib 代码:
app.plug(fetchrPlugin({
xhrPath: '/api',
xhrTimeout: 2000
}));
我正在使用 yahoo 的 fluxible 和 fethr,请求服务调用偶尔会超时。如何在我的配置中增加 ajax 请求超时时间?
基于查看 lib 代码:
app.plug(fetchrPlugin({
xhrPath: '/api',
xhrTimeout: 2000
}));