Remove the delay for auto-upload in the file plugin
D
Daniele Testa
started a topic
over 3 years ago
I am using the file plugin to edit remote files on my server. After saving the changes, Royal TSX is auto-uploading the file to the server.
However, if can sometimes take 10-20 seconds before Royal TSX reacts. Seems like it is checking for file changes at set intervals and if you are unlucky, you get the maximum delay of 20 seconds.
I would suggest that you use another method for detecting file-changes (like inotify) to remove this delay. At least make the interval configurable, so that we can set this to something like 1 second to get a near realtime upload.
Daniele Testa
I am using the file plugin to edit remote files on my server. After saving the changes, Royal TSX is auto-uploading the file to the server.
However, if can sometimes take 10-20 seconds before Royal TSX reacts. Seems like it is checking for file changes at set intervals and if you are unlucky, you get the maximum delay of 20 seconds.
I would suggest that you use another method for detecting file-changes (like inotify) to remove this delay. At least make the interval configurable, so that we can set this to something like 1 second to get a near realtime upload.