-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make Load Non-Blocking / Limit Index Refresh #8
Comments
Definitely agree with you on that one @ralphcallaway - really quite a pain having it lock up every time I open Sublime! Have thought about the possibility of persisting the cache of links/titles between Sublime sessions, as well as doing some more digging into how to make it non-blocking, but haven't yet worked out exactly how to go about it sensibly. Will try to set aside some time this weekend to have another dig at it; it's been quite a while since I gave this plugin any attention. In the meantime, have you considered changing the |
Hey @ralphcallaway - have just spent some time bashing away at this. After a while trying to fix the issue, I was having difficulty clearly replicating the issue. Looking at the console output, I was seeing that the Salesforce Reference retrieval was happening at the same time as MavensMate checks for updates (and possibly does other things too), and that my debug logs were freezing when the MM update check happened. So I disabled the MM setting just so I could eliminate that possible source of noise
After doing that, I added a So I think my poor little reference plugin (:P) appears to be the cuplrit for blocking because it happens to be showing a non-blocking progress indicator for a non-blocking action at the same time as a another plugin is doing a blocking action with no visual feedback. I haven't closed this out yet though for a couple of reasons I'm keen to hear from you on:
|
@Oblongmana sorry for the slow response, completely skipped the first response thinking it was a response to some of the noisier repos i'm on tried playing with this a bit and I was able to run a command from the command palette while the salesforce reference progress indicator was still going, so whatever the issue was it's gone now. And it seems quite plausible that it was never an issue with yours and i just blamed it because i saw it was running while st3 was blocked (ooops!!) not particular important at this point to address this, but since you asked for advice, i'd consider the following based on how i believe package control works (i could totally be wrong)
anyway, thanks for the replies, and thanks for the great contribution, i use this literally all the time! really love how simple, straight-forward, and useful it is. fuzzy search on salesforce references! |
Good stuff - have opened a couple more issues for those ones 👍 |
First off, this is such an awesome little plugin, thank you!!! I use this all the time.
Every once in a while, Salesforce seems to get real slow, and whenever I start Sublime Text I'm waiting 20-30 seconds before I can perform any commands.
In a perfect world it'd be great if the index refresh could happen behind the scenes without blocking sublime text from loading. Or failing that, only see refresh the index once a week / once a day.
Thanks again for the contribution @Oblongmana
The text was updated successfully, but these errors were encountered: