]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-bus: make BUS_DEFAULT_TIMEOUT configurable
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Jul 2018 08:38:47 +0000 (17:38 +0900)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Jul 2018 13:11:50 +0000 (15:11 +0200)
commit385b2eb262a99373f09d01b7f5571dd71a14dc98
treed36b582c1f3959330202689b4a18d183ccd70975
parentdb9eee7e4535eea888afbefc49da75cceb79aa10
sd-bus: make BUS_DEFAULT_TIMEOUT configurable

This adds sd_bus_{get,set}_method_call_timeout().
If the timeout is not set or set to 0, then the timeout value is
parsed from $SYSTEMD_BUS_TIMEOUT= environment variable. If the
environment variable is not set, then built-in timeout is used.
doc/ENVIRONMENT.md
src/libsystemd/libsystemd.sym
src/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/sd-bus.c
src/systemd/sd-bus.h