diff options
Diffstat (limited to 'syntax-highlighting-server.py')
-rwxr-xr-x | syntax-highlighting-server.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/syntax-highlighting-server.py b/syntax-highlighting-server.py index dabd631..05140a7 100755 --- a/syntax-highlighting-server.py +++ b/syntax-highlighting-server.py @@ -117,6 +117,9 @@ def main(): .format(args.host, args.port)) try: + # preload stuff to avoid first-request latency (every request for + # forking) and post-fork memory usage + # preload lexers guess_lexer('') # preload formatter |