Commit graph

63 commits

Author SHA1 Message Date
Amos Ng 6e2353307f
Added .gitattributes to help sort out CHANGELOG.md merge conflicts 2020-06-14 05:04:35 +08:00
Amos Ng 4986bfb003 Merge branch 'feature/x-cache-header' into 'master'
Added X-Cache header to image responses

See merge request mangadex/mangadex_at_home!20
2020-06-13 20:59:08 +00:00
Amos Ng 2643efa960
Added X-Cache header to image responses 2020-06-14 04:38:46 +08:00
Amos Ng f725ac910e Merge branch 'feature/loglevel-configuration' into 'master'
Allow for the two log levels to be configurable

See merge request mangadex/mangadex_at_home!19
2020-06-13 14:07:51 +00: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
Amos Ng 5928e81907
Updated CHANGELOG.md 2020-06-12 23:54:02 +08: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
Amos Ng 5090443b7a
Tagged for 1.0.0-RC13 and updated CHANGELOG.md 2020-06-12 23:05:25 +08:00
Amos Ng 737dc993bb Merge branch 'feature/subdirectory-keys' into 'master'
Store cache files in a 4-deep subdirectory to improve performance

Closes #53

See merge request mangadex/mangadex_at_home!16
2020-06-12 15:00:36 +00:00
carbotaniuman c302bf6d67 Improve DiskLruCache 2020-06-12 09:50:49 -05:00
Amos Ng 2d756d7c7c
Updated CHANGELOG.md to reflect atomicness of migrator 2020-06-12 22:19:08 +08: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 50d8a24827 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 14:17:38 +00:00
Amos Ng 662ceb44e4
Made Netty thread count global instead of per-cpu 2020-06-12 20:09:22 +08:00
Flint 4109ccd0b1 Merge branch 'fix/change-gradle-versioning' into 'master'
Changed gradle versioning to using `git describe`

See merge request mangadex/mangadex_at_home!17
2020-06-12 11:39:00 +00:00
Amos Ng acc43bae91
Changed gradle versioning to using git describe 2020-06-12 19:04:56 +08:00
Amos Ng d7c6d7b0a3
Added missing CHANGELOG entry for previous fix 2020-06-12 18:11:35 +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 (LFlare) N e107bf72ec Merge branch 'fix/increase-thread-limit-again' into 'master'
Raising socket limit again, should be neligible for performance.

See merge request mangadex/mangadex_at_home!15
2020-06-12 09:21:38 +00: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
Amos Ng b264424aea
Added CHANGELOG.md 2020-06-12 16:38:25 +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 fede53f570 Merge branch 'fix/52' into 'master'
Improving multi-threadability with Netty

See merge request mangadex/mangadex_at_home!14
2020-06-11 20:22:45 +00: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
carbotaniuman d2165f6641 Merge branch 'fugi/token' into 'master'
Handle token in URL, report build version

See merge request mangadex/mangadex_at_home!13
2020-06-10 17:26:51 +00: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