Update doc and cosmetic fixes
This commit is contained in:
parent
4dacde1c57
commit
e32f96eed2
@ -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() {
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
```
|
Loading…
Reference in New Issue
Block a user