-
-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerssave-traffic
Description
What? Why?
A special function that is used for background fetch. Because the iOS background fetch still fails sometimes, this is the idea of making a minimal function that does only the essential background work instead of fully starting IO (which might do stuff we don't need).
Proposed Function
- Needs stopped IO
- connects an receives messages, then sends pending messages
- does not even connect to smtp if there are no pending messages to send
- does no housekeeping
- (maybe later) just delete ephameral messages, but nothing expensive like vaccum.
- even then if there is no extra time don't do housekeeping
- (maybe later) just delete ephameral messages, but nothing expensive like vaccum.
How should this help?
It does only what it is supposed to in the background an thus reduces the surface in which bugs can appear.
History of the Idea
@link2xt, @hpk42 and me discussed this idea when we were thinking about how to solve iOS notification problems.
r10s and Simon-Laux
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerssave-traffic