Update doc and cosmetic fixes

This commit is contained in:
Frederic Guillot 2015-08-02 12:59:14 -04:00
parent 4dacde1c57
commit e32f96eed2
4 changed files with 11 additions and 6 deletions

View File

@ -45,12 +45,12 @@ Miniflux.Feed = (function() {
request.open("POST", "?action=refresh-feed&feed_id=" + feed_id, true);
request.send();
},
UpdateAll: function(num) {
UpdateAll: function(nb_concurrent_requests) {
var feeds = Array.prototype.slice.call(document.querySelectorAll("article:not([data-feed-disabled])"));
//Check if a custom ammount of concurrent requests was defined
if(num){
queue_length = num;
// Check if a custom amount of concurrent requests was defined
if (nb_concurrent_requests) {
queue_length = nb_concurrent_requests;
}
var interval = setInterval(function() {

View File

@ -36,5 +36,6 @@ define('PROXY_PASSWORD', '');
// ENABLE_AUTO_UPDATE => default is true (enable Miniflux update from the user interface)
define('ENABLE_AUTO_UPDATE', true);
// SUBSCRIPTION_CONCURRENT_REQUESTS => number of concurrent feeds to refresh at once - reduce this number on systems with limited processing power
// SUBSCRIPTION_CONCURRENT_REQUESTS => number of concurrent feeds to refresh at once
// Reduce this number on systems with limited processing power
define('SUBSCRIPTION_CONCURRENT_REQUESTS', 5);

View File

@ -49,4 +49,8 @@ define('PROXY_PASSWORD', '');
// ENABLE_AUTO_UPDATE => default is true (enable Miniflux update from the user interface)
define('ENABLE_AUTO_UPDATE', true);
// SUBSCRIPTION_CONCURRENT_REQUESTS => number of concurrent feeds to refresh at once
// Reduce this number on systems with limited processing power
define('SUBSCRIPTION_CONCURRENT_REQUESTS', 5);
```