Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Locking Issue #67

Closed
bayleedev opened this issue Aug 23, 2016 · 1 comment
Closed

Locking Issue #67

bayleedev opened this issue Aug 23, 2016 · 1 comment
Labels

Comments

@bayleedev
Copy link
Member

I've noticed every now and then zazu runs slow. My theory is that this is based on the file finder locking the thread.

If this is the case we could test it by changing the interval to 0 and seeing it be laggy all the time.

This could be fixed by using child_process.fork

Another theory is that the setInterval stop working when a laptop is asleep, and upon waking catch up by calling the method x number of times, which slows it down. This could be tested by sleeping the computer and, upon waking it, try and use zazu.

We could fix this by adding debouncing on top of the setinterval.

Or I my hunch if totally off and we should look into other issues.

@bayleedev bayleedev added the bug label Aug 23, 2016
@bayleedev
Copy link
Member Author

Fixed with 81723a0 and bayleeadamoss/zazu-file-finder@d7a47e4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant