Drop the mail resend at startup feature

Hi devs,

I’d like to propose that we drop mail resending at startup for the following reasons:

  • It can take a lot of time and currently blocks the start of XWiki (this could be solved by async resending though). This is Loading...
  • There’s no real reason to wait for a restart to perform mail resending, nor that it makes sense to resend just at startup. The ability to resend with a scheduler job is better IMO since it allows regular resending even when XWiki isn’t restarting and it can also be triggered manually if you need to force a resend at a particular point in time. This was implemented in Loading...

So the idea would be to rely only on the scheduler and to schedule it by default (I’m proposing a daily resend by default). Do you see a use case not covered?

Note: The Loading... issue is hitting several of users and this is why I’m sending this proposal, in an effort to fix the issue ASAP (but we need to decide first if we’re ok to drop the auto resend at startup).

WDYT?

Thanks

1 Like

+1

+1 thanks

+1

+1

Thanks,
Alex

+1, thank you!

Done with Loading...