diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java index 8695abd7..97aa4cd5 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java @@ -62,6 +62,8 @@ public class GetTask extends AsyncTask { get.addHeader(new BasicHeader(RestApi.HEADER_API_KEY, params[2])); try { + Log.w(TAG, "Calling Rest API at " + fullUri); + HttpResponse response = httpclient.execute(get); HttpEntity entity = response.getEntity(); diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java index fe92f3e5..782537f6 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java @@ -52,7 +52,7 @@ public class SyncthingService extends Service { /** * Interval in ms at which the GUI is updated (eg {@link com.nutomic.syncthingandroid.fragments.DrawerFragment}). */ - public static final int GUI_UPDATE_INTERVAL = 1000; + public static final int GUI_UPDATE_INTERVAL = 10000; /** * Name of the public key file in the data directory.