Skip to content

restart detach timeout together wit restarting HAF

Marcin requested to merge mi_autodetach_during_start_stack into develop

From now autodetach, additionaly to contexts last_active_at, considerns time of last restart of haf's hived process. This gives applications new 4 hours to use HAF app api methods to update contexts after HAF restart.

It fixes problem when autodetach mechanism detached contexts after HAF and apps were stopped for longer then 4 hours, and then during whole stack restart races between apps and autodetach may ends with exceptions about moving detached contexts.

Merge request reports