Skip to content
Snippets Groups Projects

aurweb: Make SSH faster by avoiding slow Poetry (~2,5 sec faster)

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:aur-fix-slow-ssh into master
All threads resolved!

"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

Edited by Kristian Klausen

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jelle van der Waa resolved all threads

    resolved all threads

  • Jelle van der Waa approved this merge request

    approved this merge request

    • Resolved by Kristian Klausen

      I seem to lack context and understanding on why this change makes anything faster. Could we get some more details into the description part of the commit to provide understanding of this change and its effect and reasoning? That would make the history and diff of this change tremendously better to grasp.

  • Levente Polyak
  • Kristian Klausen added 21 commits

    added 21 commits

    • 0c6fcfc5...3b53daa5 - 20 commits from branch archlinux:master
    • b15ac838 - aurweb: Make SSH faster by avoiding slow Poetry (~2,5 sec faster)

    Compare with previous version

  • Kristian Klausen resolved all threads

    resolved all threads

  • Kristian Klausen marked this merge request as ready

    marked this merge request as ready

  • Kristian Klausen changed title from Draft: aurweb: make dat ssh faster (~5,7sec -> ~3sec) to aurweb: Make SSH faster by avoiding slow Poetry (~2,5 sec faster)

    changed title from Draft: aurweb: make dat ssh faster (~5,7sec -> ~3sec) to aurweb: Make SSH faster by avoiding slow Poetry (~2,5 sec faster)

  • Kristian Klausen changed the description

    changed the description

  • Evangelos Foutras approved this merge request

    approved this merge request

  • mentioned in commit 009aa707

  • Please register or sign in to reply
    Loading