apache / apache/ponymail

Enh: edit-list.py could retrieve less data

Open
#239 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
80
Forks
32
PR merge metrics
No merged PRs in 30d

Description

The query currently fetches all the source fields.
However only a few are actually needed (body, subject, from) and then only if the obfuscate option is used. In other cases the source is not needed at all.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in edit-list.py and inspect the query that currently selects all source fields. Compare the path when obfuscate is enabled with paths that do not use source data, focusing on body, subject, and from. Done means non-obfuscation cases avoid retrieving source data while obfuscation still has the fields it needs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases, performance
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.