Replies: 1 comment
|
Well I think someone noticed my little experiment! 😆 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Ok, so this has been driving me nuts ever since I switched to Omarchy. Every time I would wake my laptop after a few hours of sleep, it lagged for about 20-30 seconds before truly resuming full speed.
I sent Codex on an investigation mission and it turns out the culprit is the
plocatedatabase indexing, which happens on a schedule. If the database update is scheduled to happen while the laptop is sleeping, it will trigger the update right when it wakes up, causing the lag.Before I submit a PR, I would like others experiencing the same issue to test the following fix to make sure I'm not the only one affected by this. What the fix does is to run the plocate DB update when the laptop runs on AC.
Here's the commands you can run in your terminal to test the fix:
There is still a bit of lag but it's really not as bad. Write a comment below if that fixes the issue for you too!
All reactions