Skip to content

[server] Retention emails #5550

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

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open

[server] Retention emails #5550

wants to merge 36 commits into from

Conversation

mngshm
Copy link
Member

@mngshm mngshm commented Apr 7, 2025

No description provided.

@mngshm mngshm marked this pull request as ready for review April 18, 2025 11:49
@mngshm mngshm requested a review from ua741 April 20, 2025 20:58
@mngshm mngshm force-pushed the retention-emails branch 2 times, most recently from 665160f to e7b5815 Compare April 21, 2025 10:16
@mngshm mngshm requested a review from ua741 April 23, 2025 11:49
previously all users without families were fetched and later 30 days check was being done.
With this modification, in the future custom duration can be passed and depending on that one could get the list of users. The compiler decides if more time has passed dependeing on what is the underlying nanoseconds value of time.Time value. Older dates are less in size compared to Newer Dates. Hence, s.created_at >=  is an appropriate calculation
@mngshm mngshm force-pushed the retention-emails branch from ce37e9d to f609cef Compare April 23, 2025 12:12
@mngshm mngshm force-pushed the retention-emails branch from 0e4db1c to 5d5e418 Compare April 24, 2025 10:08
@mngshm mngshm force-pushed the retention-emails branch from e55851d to abe0ef0 Compare April 25, 2025 11:01
@mngshm mngshm requested a review from ua741 April 25, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants