Skip to content

Commit

Permalink
Set messaging timeout for Accessibility API to 500 ms (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper committed Jul 11, 2016
1 parent 54ce29b commit 8c5c132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Release: dd.mm.yyyy

### Improvements

- Improve API performance when system is under load ([#75](https://github.com/kasper/phoenix/issues/75)).
- Improve startup performance ([#114](https://github.com/kasper/phoenix/issues/114)).

### API
Expand Down
1 change: 1 addition & 0 deletions Phoenix/PHAXUIElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ - (instancetype) initWithElement:(id)element {

if (self = [super init]) {
self.element = element;
AXUIElementSetMessagingTimeout((__bridge AXUIElementRef) self.element, 0.5);
}

return self;
Expand Down

0 comments on commit 8c5c132

Please sign in to comment.