Commit graph

208 commits

Author SHA1 Message Date
Amos Ng da88b12500 a 2020-06-13 12:25:48 -05:00
M bb5fae1fb6 Merge branch 'master' of https://gitlab.com/mangadex/mangadex_at_home 2020-06-13 12:12:06 -05:00
carbotaniuman 9f1f30eace Add hourly cache of stats 2020-06-13 11:16:56 -05:00
Amos Ng dc952e31eb
Modified AsyncAppender queue size to 1024 2020-06-13 22:05:19 +08:00
Amos Ng 4fe55fbb17
Allow for the two log levels to be configurable 2020-06-13 21:52:08 +08:00
carbotaniuman 505c917e56 Make Statistics immutable 2020-06-12 22:35:08 -05:00
carbotaniuman f153a11717 Stuff 2020-06-12 14:56:51 -05:00
M 9086e09c60 slight fixes 2020-06-12 13:54:29 -05:00
M 8ccca2ec93 merge 2020-06-12 13:54:29 -05:00
M b56a86495a all the dockables 2020-06-12 13:54:29 -05:00
carbotaniuman 83663a786b Squash a lot of things 2020-06-12 13:54:29 -05:00
M 27a54c7640 slight fixes 2020-06-12 13:52:50 -05:00
M 541890190a merge 2020-06-12 12:58:10 -05:00
Amos Ng dc4ff667fc
Bump version numbers 2020-06-12 23:53:39 +08:00
Amos Ng afbfd29d66
Hotfix to allow for directory creation during migration 2020-06-12 23:53:21 +08:00
M d7bf45af0b all the dockables 2020-06-12 10:17:19 -05:00
carbotaniuman bf486dd276 Squash a lot of things 2020-06-12 10:17:19 -05:00
carbotaniuman c302bf6d67 Improve DiskLruCache 2020-06-12 09:50:49 -05:00
Amos Ng 3a7876d492
Fixed semantics 2020-06-12 22:19:07 +08:00
Amos Ng d611f4a6da
Use atomic operations for cache migration 2020-06-12 22:19:07 +08:00
Amos Ng 4b7c8bb0cb
Rectification attempt at cache migration issues with nio File 2020-06-12 22:19:07 +08:00
Amos Ng 32a2fecfd0
Merge branch 'fix/threads-global' into 'master'
Made Netty thread count global instead of per-cpu

See merge request mangadex/mangadex_at_home!18
2020-06-12 22:19:01 +08:00
Amos Ng 662ceb44e4
Made Netty thread count global instead of per-cpu 2020-06-12 20:09:22 +08:00
Amos Ng ecad0a0d34
Replaced exponential calculation for ApacheClient threads
Turns out Kotlin doesn't do powers easily :/
2020-06-12 18:10:42 +08:00
Amos Ng 3706bdaee8
Raising socket limit again, should be neligible for performance.
We need people getting Gbit/s traffic to see if this works :hmm:
2020-06-12 17:21:12 +08:00
Amos Ng 69151d058f
Re-added missing default threads_per_cpu setting 2020-06-12 17:17:01 +08:00
dskilly 3afc953fcf Update ClientSettings.java changed showing client secret in logs back to hidden 2020-06-12 08:04:22 +00:00
carbotaniuman 8ba1c6dd2f Bump build version 2020-06-11 22:05:40 -05:00
carbotaniuman 07ff969422 Rc12 bonanza - fix hourly refresh bug, bump version number 2020-06-11 22:02:59 -05:00
carbotaniuman ce1fc92322 Clean stuff up 2020-06-11 15:13:58 -05:00
carbotaniuman a70381eea4 Fix nits 2020-06-11 15:13:58 -05:00
Amos Ng 522c96f70f
Added back mdResponse.close()
Accidentally deleted it, whoops!
2020-06-12 04:04:49 +08:00
Amos Ng 40be05e4d4
Made threads-per-cpu configurable for moar speed 2020-06-12 04:04:49 +08:00
Amos Ng ac682e98c3
Made more changes to the numbers used for threading 2020-06-12 04:04:48 +08:00
Amos Ng c87a0c0041
Change ApacheClient to maximum open sockets allowed 2020-06-12 04:04:48 +08:00
Amos Ng a1130d204c
Slight typo. 2020-06-12 04:04:48 +08:00
Amos Ng da47b86d97
Make Netty naive-multithreaded too
Hopefully we can replace this that intelligently scales to a user
setting next time...
2020-06-12 04:04:48 +08:00
Amos Ng 5dbe29c8e9
Shifted closing of pool connections better 2020-06-12 04:04:48 +08:00
Amos Ng 25cfc53674
Added missing connection closer(?) 2020-06-12 04:04:48 +08:00
carbotaniuman b2231721d1 Cache changes + log reduction 2020-06-11 14:57:17 -05:00
Fugi 9b3b6633d3
Handle token in URL, report build version 2020-06-09 18:29:28 -07:00
carbotaniuman 82a2ef2ddc Add more logs, remove HTTP support, remove limiter 2020-06-09 17:37:42 -05:00
carbotaniuman a13a7c671a Wtf 2 2020-06-09 14:35:45 -05:00
carbotaniuman 5d73f2e182 Wtf 2020-06-09 14:29:33 -05:00
carbotaniuman 8a098d81ca Formatting 2020-06-09 14:21:29 -05:00
carbotaniuman 35ea86c6ac Reinstall limiter, add buffering, fix TLS setup 2020-06-09 14:21:18 -05:00
carbotaniuman d1629e9f5c Update logs and stuff 2020-06-09 11:18:18 -05:00
carbotaniuman 4744214e96 Bump threads, sanitize uri, hide some errors, change logs some more 2020-06-09 09:40:36 -05:00
carbotaniuman d5d162fe69 Bump client build 2020-06-08 20:35:11 -05:00
carbotaniuman a6e7f10d6e Fix me not knowing that "" is not a number - also rc7 tiem 2020-06-08 20:34:23 -05:00
carbotaniuman 907e90803d Rc6 release
- proxy data-saver
- optimize thread count
2020-06-08 19:57:50 -05:00
carbotaniuman 98c4956b80 Rc5 release
- hid SSL in logs
- possibly fix a crash bug
2020-06-08 17:10:41 -05:00
carbotaniuman d9fb96c08d Rc4 release
- use openssl to reduce memory footprint
- invalidate everyone's caches again (in order to fix 128 bit SSL on older JREs)
- Add more logging
- Hide secret printouts
- Rebrand
2020-06-08 10:17:21 -05:00
carbotaniuman a92ee85dd7 Copy Last-Modified from upstream 2020-06-07 10:14:14 -05:00
carbotaniuman 902798d868 Add Last-Modified for easy caching 2020-06-07 10:10:58 -05:00
carbotaniuman 4238717460 Cache updates 2020-06-06 22:34:43 -05:00
carbotaniuman 198f790bed Update SERVER_ADDRESS 2020-06-06 18:14:18 -05:00
carbotaniuman 6b106f52fc Squash a bunch of commits together 2020-06-06 17:52:25 -05:00