Skip to content

[stable32] refactor: replace magic batch-time seconds with named constants#2578

Merged
miaulalala merged 1 commit into
stable32from
backport/2569/stable32
May 10, 2026
Merged

[stable32] refactor: replace magic batch-time seconds with named constants#2578
miaulalala merged 1 commit into
stable32from
backport/2569/stable32

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 7, 2026

Backport of PR #2569

@miaulalala miaulalala enabled auto-merge May 7, 2026 11:12
@cypress
Copy link
Copy Markdown

cypress Bot commented May 7, 2026

Activity    Run #3741

Run Properties:  status check passed Passed #3741  •  git commit b8b620b3cd: [stable32] refactor: replace magic batch-time seconds with named constants
Project Activity
Branch Review backport/2569/stable32
Run status status check passed Passed #3741
Run duration 02m 03s
Commit git commit b8b620b3cd: [stable32] refactor: replace magic batch-time seconds with named constants
Committer backportbot[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 9
View all changes introduced in this branch ↗︎

Add BATCH_TIME_HOURLY/DAILY/WEEKLY to UserSettings alongside the existing
EMAIL_SEND_* constants. Replace all bare 3600 / 3600*24 / 3600*24*7
literals in MailQueueHandler and UserSettings with the new constants.

Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@miaulalala miaulalala force-pushed the backport/2569/stable32 branch from 1563b1b to 64dbe41 Compare May 10, 2026 19:35
@miaulalala miaulalala merged commit 9879e21 into stable32 May 10, 2026
52 checks passed
@miaulalala miaulalala deleted the backport/2569/stable32 branch May 10, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant