Commit Graph

26 Commits

Author SHA1 Message Date
Adam
7f25ec8238 http-service: crawl tradable item prices instead of queueing on demand 2018-06-18 09:35:11 -04:00
Adam
430719cb87 item controller: expose bulk item prices 2018-06-12 19:16:09 -04:00
Adam
aa35b2c218 http-service: lombok item api 2018-05-13 08:42:00 -04:00
Adam
274c79a7ba http-service: optimize bulk item price lookup 2018-05-13 08:39:20 -04:00
Adam
ede2041a61 item controller: don't return duplicate items in bulk lookup 2018-05-13 08:14:12 -04:00
Adam
2d7adb248a http-service: fix sql2o statement leak
commit() will call closeJdbcConnection() which does not clean up statements and causes the later close() to noop
2018-04-30 10:33:59 -04:00
Adam
6c699cc54f item service: move overflow of pending lookups log message to debug 2018-04-27 11:15:45 -04:00
Adam
9de803fb7a item controller: remove all synchronous fetching 2018-04-27 11:02:35 -04:00
Adam
4c5c3d81f8 item controller: add method for bulk price lookups 2018-03-09 12:28:43 -05:00
Adam
4620de3ded item service: process pending lookups in order
I think the current system causes starvation for item checking
2018-03-04 17:09:01 -05:00
Adam
d48876f77e http-service: queue item lookups from images 2018-03-04 09:56:40 -05:00
Adam
1b960bf056 item service: change search to only search database
Add fulltext index to item.name and use in searches
2018-02-19 20:42:03 -05:00
Adam
77a3f48627 item service: always use last known price, and queue price updates instead 2018-02-16 23:28:37 -05:00
Adam
4bcfdc5360 item controller: cache empty price lookups 2018-02-16 23:28:37 -05:00
Adam
2125a02678 http-service: split itemservice into service and controller 2018-02-16 22:55:48 -05:00
Adam
b7d8b75647 item service: set cache-control: public too 2018-01-19 19:39:24 -05:00
Adam
c774784c4e http-service: change item price cache to 30 minutes 2018-01-10 17:23:41 -05:00
Adam
9021b9a600 http-service: add cache control to item price 2018-01-10 15:47:54 -05:00
Adam
ad8b2e82d1 http-service: fix item price cache to use fetched time instead of price time
Reduce cache duration to 30 minutes
2018-01-10 11:44:56 -05:00
Adam
05dc2eb39e Consistently capitalize RuneLite 2018-01-07 17:25:48 -05:00
Tomas Slusny
4660bb3739 Fix OkHttp connection leaks on connection error
When request fails, entire response needs to be wrapped in try with
resources in order to close the connection properly and not only
response body.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-22 02:05:28 +01:00
Adam
b6a7108ca5 http-service: switch to spring-web from sparkjava/guice 2017-08-10 17:56:03 -04:00
Adam
9734ded390 http-service: add item search 2017-07-14 18:34:34 -04:00
Adam
a67fb38d27 http-service: add item price api 2017-06-13 18:20:24 -04:00
Adam
cae29ff754 http-service: set content-type to application/json in various responses 2017-06-12 19:11:15 -04:00
Adam
2c6a19c434 http-service: add item api 2017-06-12 18:35:21 -04:00