2

Is it possible to disable alerts for edits within a certain grace period?
 

Very often my users seem to write an answer or comment, then perform several edits in the next few minutes.

This generates a lot of alerts (both on-site, and instant emails when enabled), and can be very annoying.

Is there a way to say that edits within, say, 15 minutes, are not alerted again?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
siovene's avatar
431
siovene
asked 12 years ago

Comments

see more comments

1 Answer

2

If you set up celery daemon and set CELERY_ALWAYS_EAGER=False in your settings.py email alerts will be delayed and the later edit will "win". Also this will help the application respond faster because email alerts will be sent asynchronously.

With CELERY_ALWAYS_EAGER=True you'll be getting one email per edit.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

Thanks. And what about on-site notifications? Can I do the same for those?

siovene's avatar siovene (12 years ago)
see more comments