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
POSSIBLE BUG, NEED SOMEONE WITH LOTS OF DAILY NOTES TO TEST #50
Comments
@liamcain someone is having an issue with caching. i remember in the discord you told me something about this. do you plan on releasing the new version of obsidian-daily-notes-interface anytime soon? thanks! |
P.S. @etiennepellegrini thanks for the detailed call tree analysis! |
Update: it seems my problem was caused by not having created today's daily note yet - seems like the plugin checks for it every few ms, and needs to list the whole directory for that... I'd suggest increasing that interval to a few seconds! |
yes, that makes more sense. can you let me know what your interval is in your list modified settings? if it's 0, it should NOT be checking every few ms (it should only check when a file is modified) |
Ah, that's a bit counter intuitive - I set it to 30 hoping it would reduce the cadence of checks. |
Yeah, I'm going to change the functionality a bit. I had it working better in 2.1 and then I deleted my local copy so I have to re-do it 😭 |
That's the worst :-/ Good to know you'll work on a fix! Also, it'd be good to mention that the write interval is in seconds! Had to find the line with |
Oh shoot, is that not in the settings description? Oh right, it was in 2.1 🙄 Was going to make a wiki anyway... Just gonna have to remember to add it back! ---- On Tue, 29 Nov 2022 19:50:28 -0500 ***@***.*** wrote ----
That's the worst :-/
I'm still struggling with creating the habit of committing / pushing regularly (to a private remote if you don't want to publish the work in progress)
Good to know you'll work on a fix!
Also, it'd be good to mention that the write interval is in seconds! Had to find the line with writeIntervalInMs = to figure it out :-D
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hey @etiennepellegrini, did setting it to 0 end up fixing the lag for you? |
Note to self: should probably just notify user and disable the plugin until the log note is found in onCreate |
Not caching
getAllDailyNotes
may cause slow down if user has lots of daily notes.To test, please just edit a file. Observe how long it takes to update the list of links in your daily note. Please let me know if there is/is not a slowdown, and how many daily notes you have.
The text was updated successfully, but these errors were encountered: