OokTech / TW5-Bob

A plugin that makes tiddlywiki a multi-user wiki on node
BSD 3-Clause "New" or "Revised" License
216 stars 28 forks source link

Refresh throttling requires multiple conditions to take effect #179

Open tcj-one opened 3 years ago

tcj-one commented 3 years ago

I was having a similar issue to this from the Google Group, so I attempted to add refresh throttling, but for some reason the TW5-Bob version requires multiple triggers to throttle, rather than any one trigger. In the docs, it says if either field throttle.refresh is present, or the title is prefixed with $:/temp/volatile/ it will throttle, and I have confirmed this as true in 5.1.23 in both single-file and node versions of TiddlyWiki. However in TW5-Bob, both the field and the prefix must exist in order for throttling to happen.

Throttling fails to happen with both the <$edit/> and <$edit-text/> widgets.

I have tested this in a new, empty wiki with TW5-Bob, and the issue is still present, so I believe it's something about TW5-Bob rather than anything I've done inside the wiki.

In this thread related to TW-Bob, it seemed to suggest throttle.refresh needs to be set to true rather than simply present, but this has doesn't seem to make any difference compared to simply having the field be present.

Any ideas on where this issue might be introduced and how to resolve?


I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

and using

Before posting I read issue guidelines and:

inmysocks commented 11 months ago

I am back to being able to work on Bob for a bit and I have no explaination for what is happening with this. I will look into it as I have time but I don't know of anything that Bob does to cause this so it will probably take a while to find what is causing it.