1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +00:00

Poll web gui more frequently

This commit is contained in:
Felix Ableitner 2017-09-04 16:16:37 +09:00
parent d8a872e592
commit 5741928324

View file

@ -20,7 +20,7 @@ public class PollWebGuiAvailableTask extends ApiRequest {
* Interval in ms, at which connections to the web gui are performed on first start * Interval in ms, at which connections to the web gui are performed on first start
* to find out if it's online. * to find out if it's online.
*/ */
private static final long WEB_GUI_POLL_INTERVAL = 100; private static final long WEB_GUI_POLL_INTERVAL = 10;
private final OnSuccessListener mListener; private final OnSuccessListener mListener;
private final Handler mHandler = new Handler(); private final Handler mHandler = new Handler();