##// END OF EJS Templates
cache: use global flock to prevent recursion when using gevent workers.
marcink -
r3417:0c330769 stable
parent child Browse files
Show More
@@ -82,12 +82,14 b' class Serializer(object):'
82 82 raise
83 83
84 84
85 import fcntl
86 flock_org = fcntl.flock
87
88
85 89 class CustomLockFactory(FileLock):
86 90
87 91 @memoized_property
88 92 def _module(self):
89 import fcntl
90 flock_org = fcntl.flock
91 93
92 94 def gevent_flock(fd, operation):
93 95 """
General Comments 0
You need to be logged in to leave comments. Login now