libre-server / rolekit

'rolekit' is a daemon for Linux systems providing a stable D-BUS interface to manage the deployment of ​Server Roles.
19 stars 7 forks source link

rolekit auto-terminates much too quickly #25

Closed sgallagher closed 8 years ago

sgallagher commented 8 years ago

Rolekit is a stateless process that auto-terminates to avoid consuming resources when it is not actively being used by a consumer. However, the auto-termination time is only a few seconds, which means that we effectively have to go through a full initialization for every request, which is also not a great use of resources. (Unless the process is started with the --persistent flag, useful only for testing)

We should increase this time to at least 60s by default and make it configurable at the command-prompt.