8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41dc2c1 commit bf0849fCopy full SHA for bf0849f
DjangoPlugin/tracdjangoplugin/wsgi.py
@@ -1,5 +1,10 @@
1
import trac.web.main
2
application = trac.web.main.dispatch_request
3
4
+# Massive hack to make Trac fast, otherwise every git call tries to close ulimit -n (1e6) fds
5
+# Python 3 would perform better here, but we are still on 2.7 for Trac, so leak fds for now.
6
+from tracopt.versioncontrol.git import PyGIT
7
+PyGIT.close_fds = False
8
+
9
from .djangoauth import DjangoAuth
10
application = DjangoAuth(application)
0 commit comments