Skip to content

Commit feec4a7

Browse files
Docs updated 2
Signed-off-by: Lukasz Gryglicki <[email protected]> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent a3ae59f commit feec4a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

COMMIT_AUTHORS_CACHING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# EasyCLA (Python): Author Caching + Large-PR Support
1+
# EasyCLA: Author and Co-author Caching + Large-PR Support
22

3-
- **Two-level caching** for author identity & per-project signature decisions.
3+
- **Two-level caching** for author and co-author identity & identity plus per-project signature decisions.
44
- **GraphQL-based commit ingestion** that comfortably handles PRs with **250+ commits (and beyond)**.
55

66
---
@@ -12,12 +12,12 @@
1212

1313
---
1414

15-
## Caching (at a glance)
15+
## Caching
1616
- **General cache key**: `(author_id, lower(login), lower(email)) → (user | None)`
1717
- **Per-project cache key**: `(project_id, author_id, lower(login), lower(email)) → (user | None, authorized, affiliated)`
1818
- **TTL policy**: positives **~24h**; negative/uncertain states use **Quick TTL = 5m**.
1919
- **Flow**: per-project cache → general cache → cold DB path. Results are stored back with the appropriate TTL.
20-
- Thread-safe with periodic cleanup; logs explain cache hits/misses and decisions.
20+
- Thread-safe with periodic expired entries cleanup (once per hour).
2121

2222
---
2323

0 commit comments

Comments
 (0)