]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gui: Don't sleep before executing the status command.
authorAndre Noll <maan@systemlinux.org>
Wed, 27 Mar 2013 20:49:40 +0000 (20:49 +0000)
committerAndre Noll <maan@systemlinux.org>
Thu, 2 May 2013 17:56:09 +0000 (19:56 +0200)
This results in uncacceptable delays when the status command fails
for any reason, for example because the server is down.

Replace this code by introducing a struct timeval variable "next_exec",
which stores the earliest possible time to restart the status command.

Move all status fetching code before the select() call in do_select()
to open_stat_pipe() and rename the function to status_pre_select(),
which is more appropriate.


No differences found