comparison mercurial/worker.py @ 28770:97c8da2f89f9

chgserver: change random state after fork Before this patch, extensions expecting a different random state per command will break since the chg request handler will inherit a same random state from the parent daemon process. This patch addresses the issue by calling random.seed() after fork.
author Jun Wu <quark@fb.com>
date Mon, 04 Apr 2016 01:59:57 +0100
parents 3eb7faf6d958
children 78a58dcf8853
comparison
equal deleted inserted replaced
28769:222f482930c8 28770:97c8da2f89f9