Skip to content

chore: Allow to configure Amavis autorelease frequency #417

Merged
marien-probesys merged 5 commits into2.5from
chore/conf-frequency-autorelease
Mar 18, 2026
Merged

chore: Allow to configure Amavis autorelease frequency #417
marien-probesys merged 5 commits into2.5from
chore/conf-frequency-autorelease

Conversation

@marien-probesys
Copy link
Copy Markdown
Member

Related issue(s)

N/A

How to test manually

  1. Set
SCHEDULER_CONSOLIDATE_FREQUENCY='5 seconds'
SCHEDULER_AUTORELEASE_FREQUENCY='5 seconds'
  1. Disable human auth for [email protected]
  2. Send an email with ./scripts/mail_to_agentj.sh
  3. Make sure that it arrives in http://localhost:8025/ in less than 10 seconds

Reviewer checklist

  • Code is manually tested
  • Interface works on both mobiles and big screens
  • Interface works on both Firefox and Chrome
  • Tests are up to date
  • Documentation is up to date
  • Pull request has been reviewed and approved

@marien-probesys marien-probesys changed the base branch from main to 2.5 March 18, 2026 14:48
@marien-probesys marien-probesys changed the title Chore/conf frequency autorelease chore: Allow to configure Amavis autorelease frequency Mar 18, 2026
The locks weren't shared across multiple instances of Docker containers.
This makes sure that a mail isn't released several times if concurrent
jobs happen at the same time, bypassing the `messageRecipient->isAlreadyReleased()`
check.
@marien-probesys marien-probesys force-pushed the chore/conf-frequency-autorelease branch from f46acf6 to dd05574 Compare March 18, 2026 16:20
@marien-probesys marien-probesys merged commit dd05574 into 2.5 Mar 18, 2026
3 checks passed
@marien-probesys marien-probesys deleted the chore/conf-frequency-autorelease branch March 18, 2026 16:30
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.

1 participant