Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7aa1bb3 authored by Yifei Zhang's avatar Yifei Zhang
Browse files

contexthub: add 10s timeout for open request

- Use a shared ScheduledThreadPoolExecutor in ContextHubEndpointManager
  for all brokers.
- Remove session when timeout, and close the session with Timeout as
  reason.
- When session open request is pending, ignore duplicated open session
  request.

Test: atest ContextHubEndpointTest
Fix: 387716930
Flag: EXEMPT, bug fix
Change-Id: I3e6ba00f87d2ddd40969a81802503abb2e9a5af6
parent 37c02b7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment