Ask Your Question
2

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

asked 2012-11-02 15:16:06 -0600

siovene gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-11-02 16:49:52 -0600

Evgeny gravatar image

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.

edit flag offensive delete link more

Comments

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

siovene gravatar imagesiovene ( 2012-11-03 05:20:26 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-11-02 15:16:06 -0600

Seen: 62 times

Last updated: Nov 02 '12