Skip to content

More bullet-proof HTTP client - #86

Draft
SmylerMC wants to merge 25 commits into
masterfrom
feat/http-retries
Draft

More bullet-proof HTTP client#86
SmylerMC wants to merge 25 commits into
masterfrom
feat/http-retries

Conversation

@SmylerMC

Copy link
Copy Markdown
Collaborator

Request retry mechanism:

  • smart (only retries when it makes sense)
  • exponential back-off (100ms, 400ms, 1.6s, 6.4s, 25.6s, 1.7mn, ...)
  • jitter (randomizes the retry delay so not all retrying requests hit the server at once

SmylerMC added 25 commits July 20, 2026 01:32
Also bumps Forge itself to 1.12.2-14.23.5.2864.
This reverts commit 04b6eda8a3b501ef793c0a177fe08a7139574d8a.
This is supposedly the latest version compatible with Java 8.
(v6 does not support Java 8)
MixinPlatformAgentFMLLegacy, which is shipped by CubicChunks and loads mixins in pre 1.13 FML environments, has some logic for dev-time runs that assumes ForgeGradle 2 (see MixinPlatformAfentFMLLegacy#isIgnoredReparseable()). This logic fails on ForgeGradle 3+ because the cache directory for deobfuscated dependencies has been renamed from deobfedDeps to deobf_dependencies, and Mixin looks for deobfedDeps in the resolved mod file path. Because it resolves the path before the check, we can trick it with symlinks, which is the workaround.
- Gradle 7.6.6
- ForgeGradle 5.1.74
protected does not make sense for fields or methods in final classes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant