-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Indexing PHP code
message repeated multiple times
#372
Comments
Should be fixed in 3.2.1. |
@ricpelo Ah, that isn't a bug in itself, but admittedly looks somewhat strange. This happens because your project is still indexing, and other index requests for files you are modifying in the meantime are queued to be performed afterwards, hence the messages stack up. Internally, the base package is smart enough to cancel the first two when a third one arrives for the same file, but the (cancelled) response for that cancelled request isn't sent by the core until the original request is actually handled (i.e. after the project indexing finishes), at which point the core sees that the request is cancelled and sends the appropriate response. The base package then picks up that response, rejects the indexing promise, and the message finally disappears. |
I'm now having this problem with version 4.1.1 Yesterday I removed the package and reinstalled it, the problem was solved. But it returned today. |
In fact, I probably also removed the core last time I reinstalled. I just went fixing it again, and it turns out that Then when I close and restart Atom, it breaks right away. Not just indexing, also click-through is broken. |
So while updating to 4.1.2 this morning I observed strange behaviour. I had it disabled, then I enabled it while it was updating. Then, to my surprise, it worked... so I did some more debugging. It seems like a race condition (maybe more than one). I tried having the package disabled, start Atom, then enable it (like I did when I updated it). Broken. Then I tried the same thing, but without the option "continuous indexing" enabled. Works... I just tried with a fresh |
While indexing the project, if I keep going editing the file, message is repeated multiple times.
The text was updated successfully, but these errors were encountered: