summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-07 15:44:10 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-07 16:18:16 +0100
commit4e05c4951aaaa57c9c6f3fb91723e7b93b1bbbda (patch)
tree70ae785f98d6ed37c9bc7bc693325b84ab2407ff
parent0452ffebbbb00a30894721666d81933425d182c7 (diff)
machined: since we can now somewhat reliable get notifications for dying
scopes we don't need to lower the stop timeout anymore
-rw-r--r--src/machine/machined-dbus.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c
index 1087a1bc4f..7c7293b29d 100644
--- a/src/machine/machined-dbus.c
+++ b/src/machine/machined-dbus.c
@@ -518,14 +518,6 @@ int manager_start_scope(
return r;
}
- /* cgroup empty notification is not available in containers
- * currently. To make this less problematic, let's shorten the
- * stop timeout for machines, so that we don't wait
- * forever. */
- r = sd_bus_message_append(m, "(sv)", "TimeoutStopUSec", "t", 500 * USEC_PER_MSEC);
- if (r < 0)
- return r;
-
r = sd_bus_message_append(m, "(sv)", "PIDs", "au", 1, pid);
if (r < 0)
return r;