summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-07-05 16:46:20 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-07-05 16:46:20 +0200
commitedbe434a2c6fb3f20f6d1e6f15094c934ba1ef02 (patch)
treed9842a0c188e3517c75ad22b0ff01da63f3db840
parent24114249513c15c69c5f240c9210a49c589bdd19 (diff)
display 40 articles by default, autopage when 20 are left
-rw-r--r--js/app/app.coffee6
-rw-r--r--js/public/app.js4
2 files changed, 5 insertions, 5 deletions
diff --git a/js/app/app.coffee b/js/app/app.coffee
index 32a77a9e3..01e5df86d 100644
--- a/js/app/app.coffee
+++ b/js/app/app.coffee
@@ -27,18 +27,18 @@ angular.module('News', ['OC', 'ui']).config ($provide) ->
markReadTimeout: 500
scrollTimeout: 500
feedUpdateInterval: 1000*60*3 # miliseconds
- itemBatchSize: 20
+ itemBatchSize: 40
undoTimeout: 1000*10 # miliseconds
# the autoPageFactor defines how many articles must be left
# before it starts autopaging
- autoPageFactor: 10
+ autoPageFactor: 30
angular.module('News').run ['Persistence', 'Config',
(Persistence, Config) ->
Persistence.init()
-
+
setInterval ->
Persistence.getAllFeeds(null, false)
Persistence.getAllFolders(null, false)
diff --git a/js/public/app.js b/js/public/app.js
index 680a411ad..2e801c8d0 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -41,9 +41,9 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
markReadTimeout: 500,
scrollTimeout: 500,
feedUpdateInterval: 1000 * 60 * 3,
- itemBatchSize: 20,
+ itemBatchSize: 40,
undoTimeout: 1000 * 10,
- autoPageFactor: 10
+ autoPageFactor: 30
});
});