Commit graph

39 commits

Author SHA1 Message Date
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