Skip to content

binder: Set default idle timeout to 60 seconds, and enable "strict lifecycle management".#9486

Merged
markb74 merged 10 commits intogrpc:masterfrom
markb74:master
Nov 29, 2022
Merged

binder: Set default idle timeout to 60 seconds, and enable "strict lifecycle management".#9486
markb74 merged 10 commits intogrpc:masterfrom
markb74:master

Conversation

@markb74
Copy link
Copy Markdown
Contributor

@markb74 markb74 commented Aug 24, 2022

The default idle timer of 30 minutes is inappropriate for cross-process Android bindings, so use a more aggressive default.

Also, add an option to enable "strictLifecycleManagement" on a binder-based channel. The intention is that should should be used from processes with privileged procrank, where relying on an idle timer would create system-health problems

Comment thread binder/src/main/java/io/grpc/binder/BinderChannelBuilder.java Outdated
@markb74 markb74 requested a review from ejona86 November 28, 2022 23:52
@markb74 markb74 merged commit 241097c into grpc:master Nov 29, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants