Mercurial > kallithea
view rhodecode/lib/rcmail/exceptions.py @ 2808:3a007d806f0f beta
Fixing issues of cache invalidation for multiple instances running in rhodecode.
- during server start always register all cache keys for all repositories
- Don't clear cache markers on start since multiple instances can clear each other out
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 05 Sep 2012 22:09:25 +0200 |
parents | 349a0ca30a75 |
children |
line wrap: on
line source
class InvalidMessage(RuntimeError): """ Raised if message is missing vital headers, such as recipients or sender address. """ class BadHeaders(RuntimeError): """ Raised if message contains newlines in headers. """