Commit Graph

124 Commits

Author SHA1 Message Date
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
Athou
949ec1fd89 distinct not needed 2013-06-15 15:37:31 +02:00
Athou
cc1248f350 remove unnecessary join 2013-06-13 13:40:13 +02:00
Athou
b8a8a2b86d relationships are not nullable, no point in doing a left join 2013-06-12 16:57:31 +02:00
Athou
c6a9fdc8c3 flush the session for large inserts 2013-06-12 05:08:27 +02:00
Athou
62a77278ff load feeds only when needed 2013-06-12 05:05:10 +02:00
Athou
33f10f5e9c limit query execution time to 20s 2013-06-12 04:58:19 +02:00
Athou
23dd016f42 lazy load feeds from entries 2013-06-08 17:00:36 +02:00
Athou
ec163da9db removed easycriteria 2013-06-08 16:15:11 +02:00
Athou
feda8ca834 optional query parameter to filter out old entries from results 2013-06-08 14:09:46 +02:00
Athou
bff817b465 not useful 2013-06-07 15:45:58 +02:00
Athou
fe9797bd83 portable way to unwrap the session (#266) 2013-06-07 15:10:41 +02:00
Athou
6af55dfdb6 start at 1 since 0 % 0 is 0 2013-06-06 15:33:44 +02:00
Athou
66abb68097 tweaking params 2013-06-06 10:57:58 +02:00
Athou
be6db080fd hibernate tweaks 2013-06-06 09:54:17 +02:00
Athou
dbe7b48a04 merge push infos into feeds 2013-06-05 21:50:26 +02:00
Athou
f7b10cb6c6 use distinct for joins and fetches over one to many relationships 2013-06-05 13:42:00 +02:00
Athou
283efe108c fix query for null parent 2013-06-04 10:36:56 +02:00
Athou
555f35407b added rest methods for updating positions 2013-06-02 12:01:58 +02:00
Athou
969e3ca0e9 not needed for count 2013-05-31 16:50:30 +02:00
Athou
574f75433d since push info is fetched lazily anyway, get it with the join 2013-05-31 16:45:09 +02:00
Athou
47b9f49831 make sure we have something to do before entering synchronized block 2013-05-30 12:57:14 +02:00
Athou
4da9fca7ea Revert for the moment as it breaks pubsub handling 2013-05-30 11:55:15 +02:00
Athou
34d47b3250 fetch content later, join big tables on foreign keys only 2013-05-30 10:43:49 +02:00
Athou
0aee6850d5 use a onetomany relationship for push info to avoid hibernate automatic lazy loading of onetoone optional relationships 2013-05-30 10:28:40 +02:00
Athou
7d614762e7 remove error predicate for metric 2013-05-29 08:54:29 +02:00
Athou
669574e4d5 ignore feeds in error from metrics 2013-05-28 09:21:29 +02:00
Athou
5b847d1ba9 display backlog in metrics 2013-05-24 12:42:18 +02:00
Athou
fe16a2a7e2 mark starred entries 2013-05-22 17:12:01 +02:00
Athou
1ee37057cd refactored dao method 2013-05-22 08:10:31 +02:00
Athou
15b7d685fe wip: allow parallel update of feeds 2013-05-22 08:01:05 +02:00
Athou
9d5b67ffda lazy load push infos 2013-05-21 15:28:08 +02:00
Athou
23240f2c93 small optimizations 2013-05-21 12:41:57 +02:00
Athou
cb9c124951 make sure emails are unique 2013-05-21 09:17:12 +02:00
Athou
515cc4c0dd recover password (wip) 2013-05-20 23:14:03 +02:00
Athou
c88d3021b8 initial pubsubhubbub support (#44) 2013-05-20 17:44:38 +02:00