Re: [tw] Re: [TW5] [nodejs] Experiencing lag when editing

2014-01-19 Thread Jeremy Ruston
Hi RA The timeouts you found in syncer.js relate to the synchronisation that happens between the browser and the server. The defaults mean that the browser will wait for 1 second after a tiddler has last been modified before it sends it to the server (unless 10s goes by in which case it is sent

[tw] Re: [TW5] [nodejs] Experiencing lag when editing

2014-01-18 Thread RA
Why did I not think of this before! Another thread gave me the idea - Instead of running TW in node.js on one computer and accessing it via ssh tunnel, I can just put the files in a Dropbox folder and setup node.js on every computer. On Thursday, January 16, 2014 9:38:26 PM UTC-8, RA wrote:

[tw] Re: [TW5] [nodejs] Experiencing lag when editing

2014-01-16 Thread RA
Actually it looks like the countdown is already there, found this in syncer.js: Syncer.prototype.taskTimerInterval = 1 * 1000; // Interval for sync timer Syncer.prototype.throttleInterval = 1 * 1000; // Defer saving tiddlers if they've changed in the last 1s... Syncer.prototype.fallbackInterval

[tw] Re: [TW5] [nodejs] Experiencing lag when editing

2014-01-16 Thread RA
Port forward didn't make any perceivable difference compared to SSH tunnel... I should probably clarify - the lag I'm talking about is the time from when I press a key to the moment a letter appears in the edit window (or disappears, if it was Backspace). On Thursday, January 16, 2014 7:18:48