Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease background job sync interval #10717

Open
st3iny opened this issue Feb 18, 2025 · 3 comments
Open

Decrease background job sync interval #10717

st3iny opened this issue Feb 18, 2025 · 3 comments
Labels
1. to develop enhancement skill:backend Issues and PRs that require backend development skills

Comments

@st3iny
Copy link
Member

st3iny commented Feb 18, 2025

Is your feature request related to a problem? Please describe.

The sync only seems to happen if the Mail app is opened. This perception is probably caused by a very infrequent sync background job.

Describe the solution you'd like

The background job to sync envelopes should be triggered more often.

Describe alternatives you've considered

No response

Additional context

No response

@st3iny st3iny changed the title Increase background job sync interval Decrease background job sync interval Feb 18, 2025
@ChristophWurst
Copy link
Member

To not overload the cron process we could also experiment with adaptive sync intervals. If someone hasn't opened Mail in a while, only sync once a day. For people who accessed it recently sync once an hour, for people who are active sync every 15 mins. Something like that.

@SebastianKrupinski
Copy link
Contributor

To not overload the cron process we could also experiment with adaptive sync intervals. If someone hasn't opened Mail in a while, only sync once a day. For people who accessed it recently sync once an hour, for people who are active sync every 15 mins. Something like that.

Do the mobile and desktop clients register a login when they access the instance?

@ChristophWurst
Copy link
Member

There is nothing like a session for clients. The individual requests are authenticated.

@st3iny st3iny added the skill:backend Issues and PRs that require backend development skills label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop enhancement skill:backend Issues and PRs that require backend development skills
Projects
None yet
Development

No branches or pull requests

3 participants