comparison i18n/polib.py @ 21750:4ab287c2d337 stable

revlog: hold a private reference to self._cache This keeps other threads from modifying self._cache out from under us. With this and the previous fix, 'hg serve' survives 100k hits with siege.
author Matt Mackall <mpm@selenic.com>
date Fri, 13 Jun 2014 14:17:14 -0500
parents 86531a7038ed
children e53f6b72a0e4
comparison
equal deleted inserted replaced
21749:f13728d59c0e 21750:4ab287c2d337