feat: run python in optimized mode (#2874)
Set PYTHONOPTIMIZE=2 to enable https://docs.python.org/3/using/cmdline.html#cmdoption-OO
This commit is contained in:
parent
4827dbce71
commit
3f7fc99b6b
5 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,7 @@ ProtectKernelTunables=true
|
|||
ProtectProc=invisible
|
||||
ProtectSystem=full
|
||||
|
||||
Environment=PYTHONOPTIMIZE=2
|
||||
Environment=LIBRETIME_CONFIG_FILEPATH=@@CONFIG_FILEPATH@@
|
||||
Environment=LIBRETIME_LOG_FILEPATH=@@LOG_DIR@@/analyzer.log
|
||||
WorkingDirectory=@@WORKING_DIR@@/analyzer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue