add getip timeout

This commit is contained in:
Elijah R 2024-04-02 23:33:22 -04:00
parent d677aefcff
commit 0440abd027

View file

@ -767,7 +767,8 @@ public class CollabVMClient {
};
this.GotIPTasks.Add(tsk);
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>