Sync interval from server to browser

My TW (5.3.5) is configured as node.js under Windows 11.

I understand $:/config/SyncThrottleInterval can change the interval both browser to server and server to filesystem followring my question before (Could we reduce the frequency of autosave? - #10 by joshuafontany).

$:/config/SyncThrottleInterval is set as 30000 (i.e. 30 s) now and I love this feature.

Now I PUT tidders into server through WebAPI from external scripts (e.g. R). However it still takes about 30s (or other values) to sync from server to browser.

How could I reduce interval to sync modified tiddlers from server to browser?

Is this hidden config ($:/config/SyncPollingInterval)?

Nothing in TW is “hidden” per se…this is however a system tiddler and part of the core 5.3.5 TW base code and it is recommended to treat these with extreme care. Not to say you can’t and shouldn’t change it or it’s contents but just thread carefully. Maybe someone with more experience can help with the actual tiddler you speak of.

1 Like

Looking at the code in $:/core/modules/syncer.js, it appears that $:/config/SyncPollingInterval is, indeed, a “hidden setting” with a default value of 60s, as documented here:

https://tiddlywiki.com/#Hidden%20Setting%3A%20Sync%20Polling%20Interval

-e

1 Like

Thanks @EricShulman and @dhjackal. From my feeling of my test,

$:/config/SyncPollingInterval is used for interval from server to browser. I set as 1000 (1s) to load changes from server.

1 Like