Skip to content

Quick updates - #347

Merged
Quantam-Studios merged 3 commits into
mainfrom
quick-updates
Nov 3, 2026
Merged

Quantam-Studios merged 3 commits into
mainfrom
quick-updates

Conversation

@Quantam-Studios

Copy link
Copy Markdown
Member

No description provided.

Discord.Net keeps members fetched by DownloadUsersAsync forever, so every
guild that used /ship kept its full member list in memory. The support server
is skipped since the Friend badge checks its members.
Cached avatar bitmaps were dropped from the cache without being disposed, and
the generated image was never disposed either, so SkiaSharp's native memory
only came back whenever the finalizer got to it. Also reuse one HttpClient for
avatar downloads.
The cache held up to 1000 full Discord messages for 12 hours each, but only
needs the ID and reaction counts. The full message is now fetched once, right
before it is posted to the board.
@Quantam-Studios
Quantam-Studios merged commit b1ba160 into main Nov 3, 2026
0 of 2 checks passed
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 1 medium

Alerts:
⚠ 1 issue (≤ 0 issues of at least minor severity)

Results:
1 new issue

Category Results
BestPractice 1 medium

View in Codacy

🟢 Metrics 5 complexity · 0 duplication

Metric Results
Complexity 5
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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