TiddlyWiki5 icon indicating copy to clipboard operation
TiddlyWiki5 copied to clipboard

Throttle autosave

Open saqimtiaz opened this issue 1 year ago • 2 comments

A quick take on implementing throttling of AutoSave so it does not occur any more frequently than a configured interval, to aid discussion of #6979

SaverHandler keeps track of the timestamp when AutoSave was last initiated and any subsequent autosave requests before the specified interval are throttled.

Configuration tiddlers (optional):

  • $:/config/AutoSave/Throttle: enables throttling of AutoSave, defaults to "no" and the throttling is disabled.
  • $:/config/AutoSave/ThrottleInterval: specifies the minimum interval between AutoSave attempts, currently defaults to 60s if the config tiddler is missing

saqimtiaz avatar Feb 19 '24 20:02 saqimtiaz

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tiddlywiki5 ✅ Ready (Inspect) Visit Preview Feb 19, 2024 8:36pm

vercel[bot] avatar Feb 19 '24 20:02 vercel[bot]

Cool. I'll aim to give it a test when I can.

simonbaird avatar Feb 20 '24 14:02 simonbaird