add getip timeout
This commit is contained in:
parent
d677aefcff
commit
0440abd027
1 changed files with 2 additions and 1 deletions
|
@ -767,7 +767,8 @@ public class CollabVMClient {
|
||||||
};
|
};
|
||||||
this.GotIPTasks.Add(tsk);
|
this.GotIPTasks.Add(tsk);
|
||||||
this.SendMsg(Guacutils.Encode("admin", "19", user));
|
this.SendMsg(Guacutils.Encode("admin", "19", user));
|
||||||
return await tsk.IPTask.Task;
|
var ip = await tsk.IPTask.Task.WaitAsync(TimeSpan.FromSeconds(5));
|
||||||
|
return ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue