Handle the container restart from within gracefully with DBUS reconnection 17/21417/5
authorLukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
Tue, 20 May 2014 07:15:57 +0000 (09:15 +0200)
committerLukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
Wed, 21 May 2014 14:35:17 +0000 (16:35 +0200)
commit3b4ce59f186681296bce9dc2543b3a57d5f35646
tree765ca8669e0b6f78c14f207b008e42f2fa895c06
parent9c72977e5629abc2326f2debd59b158112c668b6
Handle the container restart from within gracefully with DBUS reconnection

[Bug/Feature]   You can now restart the container from within.
[Cause]         Restarting was stopped by the reconnection routine.
[Solution]      Reconnect tries few times with greater timeout before
                giving up. This gives the time for the container to restart.
[Verification]  Built, installed, run tests and the daemon.

Change-Id: I0e4f1c248af9f0d2faf81662876b971c2b35ed02
Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@partner.samsung.com>
server/container.cpp