GoogleChromeLabs / chromeos_smart_card_connector

Smart Card Connector App for Chrome OS
https://chrome.google.com/webstore/detail/smart-card-connector/khpfeaanjngmcnplbdlpegiifgpfgdco
Apache License 2.0
133 stars 50 forks source link

Increase dead message channel timeout #1162

Closed emaxx-google closed 1 month ago

emaxx-google commented 1 month ago

Consider a message channel dead only after 10 min of silence, regardless of Debug or Release build mode.

This should fix the observed rare event in Debug build, when communication between client extensions and Smart Card Connector was considered dead despite the pages staying alive seemingly. This problem is especially disruptive in the manifest v3 extension build mode, since closing message ports can lead to the termination of service workers.

github-actions[bot] commented 1 month ago

Continuous Integration: All tests passed. C/C++ test coverage: 73.30% lines.