[PR #1955] [MERGED] fix: deduplicate gravatar fetches to respect rate limits #9660

Closed
opened 2026-04-23 09:08:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1955
Author: @kolaente
Created: 12/8/2025
Status: Merged
Merged: 12/8/2025
Merged by: @kolaente

Base: mainHead: codex/fix-gravatar-avatar-rate-limit-issue


📝 Commits (1)

  • 664bf5e fix: deduplicate gravatar fetches

📊 Changes

1 file changed (+29 additions, -11 deletions)

View changed files

📝 pkg/modules/avatar/gravatar/gravatar.go (+29 -11)

📄 Description

Summary

  • avoid redundant concurrent Gravatar requests by coordinating fetches per avatar cache key
  • reuse cache lookups when requests are already cached and simplify expiration checks

Testing

  • not run (local go test attempts hung during module resolution)

Codex Task


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1955 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 12/8/2025 **Status:** ✅ Merged **Merged:** 12/8/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/fix-gravatar-avatar-rate-limit-issue` --- ### 📝 Commits (1) - [`664bf5e`](https://github.com/go-vikunja/vikunja/commit/664bf5ed5c1c574be23f5f142576fa48e8053d94) fix: deduplicate gravatar fetches ### 📊 Changes **1 file changed** (+29 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `pkg/modules/avatar/gravatar/gravatar.go` (+29 -11) </details> ### 📄 Description ## Summary - avoid redundant concurrent Gravatar requests by coordinating fetches per avatar cache key - reuse cache lookups when requests are already cached and simplify expiration checks ## Testing - not run (local `go test` attempts hung during module resolution) ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_6936ecf1f4808322ab3dc73f401380ec) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 09:08:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#9660