if under heavy load, don't refresh feeds for users who logged in more than a month ago for the last time

This commit is contained in:
Athou
2013-08-01 21:11:45 +02:00
parent cb1b99815c
commit 71403d4174
3 changed files with 42 additions and 9 deletions

View File

@@ -128,5 +128,11 @@
<column name="refreshIntervalMinutes" valueNumeric="5"></column>
</update>
</changeSet>
<changeSet author="athou" id="add-last-login-index">
<createIndex tableName="USERS" indexName="lastlogin_index">
<column name="lastLogin" />
</createIndex>
</changeSet>
</databaseChangeLog>