简体   繁体   中英

How to increase ajax request timeout length in a fluxible fetchr application?

I'm using yahoo's fluxible and fetchr and I get occasional timeouts in the request service calls. How can I increase the ajax request timeout time in my configuration?

https://github.com/yahoo/fluxible-plugin-fetchr

Based on looking at the lib code:

app.plug(fetchrPlugin({
    xhrPath: '/api',
    xhrTimeout: 2000
}));

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM