Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add server setting which allows to control the global wake lock #298

Merged
merged 4 commits into from
Aug 24, 2019

Conversation

mykola-mokhnach
Copy link
Contributor

releaseWakeLock();

if (msTimeout <= 0) {
return;
Copy link
Member

@KazuCocoa KazuCocoa Aug 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nits]
How about Logger.warn here or .info before this control flow to leave a message what number the user tried to set? It helps to track the configurable number.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, will add

@mykola-mokhnach mykola-mokhnach merged commit e956b3e into appium:master Aug 24, 2019
@mykola-mokhnach mykola-mokhnach deleted the control_lock branch August 24, 2019 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants