diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-14 13:12:41 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-15 15:34:46 -0400 |
commit | 362e33a2a145c8012f0087319cc59097f2d6ddfe (patch) | |
tree | 31dab68d0ab05fa92284971008fc652e3eac53af /src/monitor/monitor.h | |
parent | 99f680396f63415f115efafa48991d7b005e6932 (diff) | |
download | sssd-362e33a2a145c8012f0087319cc59097f2d6ddfe.tar.gz sssd-362e33a2a145c8012f0087319cc59097f2d6ddfe.tar.xz sssd-362e33a2a145c8012f0087319cc59097f2d6ddfe.zip |
MONITOR: Correctly detect lack of response from services
We were incorrectly using DBUS_ERROR_TIMEOUT here. The correct
behaviour is to check for DBUS_ERROR_NO_REPLY. This way we will
properly handle the three-tries in the tasks_check_handler().
Additionally, we weren't properly handling failure counts
correctly, meaning we weren't restarting stuck services in a
timely manner.
Diffstat (limited to 'src/monitor/monitor.h')
0 files changed, 0 insertions, 0 deletions