aurweb: Make SSH faster by avoiding slow Poetry (~2,5 sec faster)
"poetry run" is very slow[1] and adds +1 second to the startup time. This is made even worse by the fact that aurweb-git-serve is called twice by sshd[2]. [1] https://github.com/python-poetry/poetry/issues/3502 [2] https://security.stackexchange.com/questions/123795/authorizedkeyscommand-of-sshd-config-getting-called-twice/123801#123801
parent
3b53daa5
No related branches found
No related tags found
Showing
- roles/aurweb/tasks/main.yml 2 additions, 0 deletionsroles/aurweb/tasks/main.yml
- roles/aurweb/templates/aurweb-git-auth.sh.j2 1 addition, 2 deletionsroles/aurweb/templates/aurweb-git-auth.sh.j2
- roles/aurweb/templates/aurweb-git-serve.sh.j2 1 addition, 2 deletionsroles/aurweb/templates/aurweb-git-serve.sh.j2
-
mentioned in issue aurweb#450 (closed)
-
mentioned in merge request !733 (merged)
-
mentioned in commit 21ceb093
Please register or sign in to comment