##// END OF EJS Templates
caches: use a gevent compatible file-lock mechanism....
caches: use a gevent compatible file-lock mechanism. - because of gevent we can run into a deadlock situation and worker freeze because of each of the workers will try to aquire a lock. - This should help with the issue and gevent.

File last commit:

r1:854a839a default
r2878:bb23dd31 default
Show More
exceptions.py
13 lines | 246 B | text/x-python | PythonLexer
project: added all source files and assets
r1
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.
"""