Details
-
Improvement
-
Resolution: Inactive
-
Minor
-
None
-
auto synchronization thread configuration
-
Description
The Auto-synchronization thread is the solution for automatic synchronization for the webapp approach on XWoot.
It is started as soon as the StateManagement servlet successfuly finishes (creating/importing/already has a state) and stopped when the WebApp container is shut down or when XWoot disconnects from the P2P Network. (TODO: also stop when disconnecting the content provider is disconnected).
What the the Auto-synchronization thread does is that, every 60 seconds (hardcoded value), it runs the synchronize() method on the XWoot instance.
What we need is to integrate the auto-synchronize interval in the Bootstrap page to allow users to customize it and one or two buttons to start/stop it in the Synchronize main panel. The button(s) can also inform of the thread's current state (started/stopped).