Commit Graph

159 Commits

Author SHA1 Message Date
Athou
079345b2e0 refactored the way entries and statuses are fetched 2013-07-19 11:30:40 +02:00
Athou
24ee418f3f denormalized fields on statuses for faster queries 2013-07-14 05:48:47 +02:00
Athou
73b757a4ac use less joins 2013-07-12 15:42:07 +02:00
Athou
be4b15be70 admin cleanup interface 2013-07-10 15:15:31 +02:00
Athou
132c1b0aaf minimum count as parameter 2013-07-08 20:38:06 +02:00
Athou
bd047efcd2 actually add the feeds to the list 2013-07-08 19:01:08 +02:00
Athou
52270d50d9 interface for deleting duplicates 2013-07-08 16:38:09 +02:00
Athou
d361d689e8 delete relationships before deleting the feed reference 2013-07-08 07:44:43 +02:00
Athou
d8f3316747 faster feed cleanup 2013-07-05 17:00:32 +02:00
Athou
fa3860f81a restore predicate 2013-07-05 10:44:53 +02:00
Athou
4efa18f9e6 materialize the manytomany relationship to have better control over queries 2013-07-04 23:44:12 +02:00
Athou
d57a1c9e2a delete entries with no feeds 2013-07-04 21:50:39 +02:00
Athou
4c1c9aef6f cleaner way of deleting relationships 2013-07-04 21:32:34 +02:00
Athou
fca15f422f can't use object equality with hibernate proxies 2013-07-04 15:56:24 +02:00
Athou
7e90be684e cleanup orphan entries later 2013-07-04 15:50:40 +02:00
Athou
05cb8f7b7e better cleanup method 2013-07-04 15:43:08 +02:00
Athou
e71e7c9008 clear entry associations before deleting feeds 2013-07-04 10:26:44 +02:00
Athou
7e2ebf2dfc don't filter on having subscriptions as the query is too long to execute 2013-07-04 10:21:00 +02:00
Athou
f0f1a7f87b cache the "tree" 2013-07-02 18:49:34 +02:00
Athou
f230ad74b1 store normalized urls 2013-07-02 16:56:25 +02:00
Athou
8997024eb7 set a timeout on more queries 2013-07-01 21:15:32 +02:00
Athou
d3dd084dd7 better refresh algorithm using queues instead of synchronous database call 2013-06-30 12:35:17 +02:00
Athou
5a907dd093 fix exception when renaming a subscription with no parent category 2013-06-28 06:38:54 +02:00
Athou
97f3efbf7c fix postgresql deployment (fix #350) 2013-06-27 23:30:16 +02:00
Athou
57e08fdd36 cache subscriptions and categories 2013-06-27 12:49:50 +02:00
Athou
42a26b86ed cache settings and roles 2013-06-27 12:49:50 +02:00
Athou
d98a1621c8 cache users 2013-06-27 12:49:50 +02:00
Athou
0ff4438731 utility methods for enabling query cache and read only queries 2013-06-27 12:49:49 +02:00
Athou
158abadf19 use date constructor directly when a calendar is not needed, better performances 2013-06-25 16:57:48 +02:00
Athou
ad619a5262 filter duplicates 2013-06-23 16:10:34 +02:00
Athou
8936a0c784 faster existing entry detection 2013-06-23 15:16:21 +02:00
Athou
ddfca39d61 search in read items too (#325) 2013-06-22 16:41:35 +02:00
Athou
91f6a43b2f set timeout on unread count too 2013-06-22 06:21:37 +02:00
Athou
604343c3ce batch fetch for all subscription query 2013-06-21 09:38:49 +02:00
Athou
f4170b12f2 remove debug line 2013-06-21 09:18:40 +02:00
Athou
1b37e95336 smarter queries for other types 2013-06-20 23:31:28 +02:00
Athou
a203246e04 smarter findAll query 2013-06-20 16:49:18 +02:00
Athou
285baaafb7 added feeds cleanup method 2013-06-19 17:01:28 +02:00
Athou
5ce780e6a2 purge entries as well as statuses 2013-06-19 13:29:56 +02:00
Athou
491af8a6df don't sort when just marking 2013-06-18 13:48:07 +02:00
Athou
238a57cc27 database agnostic cleanup query 2013-06-18 13:00:03 +02:00
Athou
c4bb8da746 faster cleanup query 2013-06-18 10:34:11 +02:00
Athou
9b53e2b0fb better cleaning method 2013-06-18 08:54:53 +02:00
Athou
09533b8f24 wrong method called 2013-06-16 16:51:49 +02:00
Athou
e6a091d351 don't delete in a big transaction 2013-06-16 16:32:46 +02:00
Athou
c2f0efb448 not a good idea with maxresults, revert and use the same batch size as default_batch_fetch_size 2013-06-16 15:54:37 +02:00
Athou
93de8e48dc join fetch statuses 2013-06-16 15:48:27 +02:00
Athou
56f4f33707 cleanup by batch of 1000 2013-06-16 15:40:33 +02:00
Athou
379e342e30 added on-demand database cleanup (date is hardcoded for the moment) 2013-06-16 12:06:59 +02:00
Athou
05893088c7 optimized query when only a single category is needed 2013-06-15 15:40:55 +02:00