xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

#884 closed enhancement (fixed)

server idle timeout

Reported by: Antoine Martin Owned by: alas
Priority: major Milestone: 0.16
Component: server Version: 0.15.x
Keywords: Cc:

Description

similar to idle sessions done in #803: to give us the ability to exit servers that are just sitting there doing nothing.

Change History (3)

comment:1 Changed 4 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas

Done in r9587.

You can test this with:

xpra start --server-idle-timeout=10 -d timeout

If no client connects within 10 seconds - or 10 seconds after the last client disconnects, the server should print this message and exit:

No valid client connections for 1 seconds, exiting the server

You can also tweak the timeout value using:

xpra control :10 server-idle-timeout 20

And see the current value set using:

xpra info | grep server.idle-timeout

comment:2 Changed 4 years ago by J. Max Mena

Built a trunk r9612 Fedora 21 server:

  • idle timeout works as expected
  • control channel works as expected
    • changing timeout
    • enabling timeout
    • disabling timeout
  • xpra info includes timeout information.

Connected a trunk r9612 Cent6.4 client and disconnected:

  • Timeout also works after a client has exited.

comment:3 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Thanks for testing maxmylyn! Closing.

Note: See TracTickets for help on using tickets.