diff options
author | kayrus <kayrus@users.noreply.github.com> | 2016-04-29 15:59:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-29 15:59:51 +0200 |
commit | 313fe66fbd0cd3d62566edece7944d6cf45b1b21 (patch) | |
tree | 5659eec8391c56f12133e136c406a010c07b694d /src/test/test-install.c | |
parent | 3e39355a96f615f2cb1e805c7d74efbc272de1cd (diff) |
core: Filter by unit name behind the D-Bus, instead on the client side (#3142)
This commit improves systemd performance on the systems which have
thousands of units.
Diffstat (limited to 'src/test/test-install.c')
-rw-r--r-- | src/test/test-install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-install.c b/src/test/test-install.c index 50315c1d9a..0ac85f040a 100644 --- a/src/test/test-install.c +++ b/src/test/test-install.c @@ -50,7 +50,7 @@ int main(int argc, char* argv[]) { log_parse_environment(); h = hashmap_new(&string_hash_ops); - r = unit_file_get_list(UNIT_FILE_SYSTEM, NULL, h); + r = unit_file_get_list(UNIT_FILE_SYSTEM, NULL, h, NULL, NULL); assert_se(r == 0); HASHMAP_FOREACH(p, h, i) { |