Project

General

Profile

Actions

Bug #1716

closed

Web pages take too long to when executing commands through ssh

Added by Amber Herold over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
Web interface
Target version:
Start date:
04/13/2012
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
No
Workaround:

Description

There was a sleep statement that was put there at some point because everything was failing without it. I've redone this code so that it will only sleep for 1 second and if we are waiting for a result from the ssh stream, we return as soon as a result arrives. I'm not sure if that 1 second wait is actually needed. I've made commands for mkdir return from the function without waiting for results as results will never come.

This has made everything much faster, but requires carefull testing of everything...let me know if anything seems wrong.

Actions

Also available in: Atom PDF