summaryrefslogtreecommitdiff
path: root/same-android/src/main
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-25 11:00:36 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-25 11:00:36 +0200
commit0e101c89d69c13d8d14229f25e2a5e1383887862 (patch)
tree748e010e2ae4574e894a7ed54a2fd3ec9ca0b87f /same-android/src/main
parenta4a0c66483fd763901c43513f8fbca65b0e7c5a9 (diff)
RPC timeout in same-android.
Diffstat (limited to 'same-android/src/main')
-rw-r--r--same-android/src/main/java/com/orbekk/same/android/SameService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/same-android/src/main/java/com/orbekk/same/android/SameService.java b/same-android/src/main/java/com/orbekk/same/android/SameService.java
index 1ec7961..559b521 100644
--- a/same-android/src/main/java/com/orbekk/same/android/SameService.java
+++ b/same-android/src/main/java/com/orbekk/same/android/SameService.java
@@ -208,6 +208,7 @@ public class SameService extends Service {
return;
}
final Rpc rpc = new Rpc();
+ rpc.setTimeout(10000);
RpcCallback<Services.NetworkDirectory> done =
new RpcCallback<Services.NetworkDirectory>() {
@Override public void run(Services.NetworkDirectory networks) {