mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #69 from stephen-turner/CA-132066
CA-132066 Make Heartbeat work as designed
This commit is contained in:
commit
715395b788
@ -172,6 +172,7 @@ namespace XenAdmin.Network
|
||||
log.DebugFormat("Heartbeat for {0} has failed for the second time; closing the main connection",
|
||||
session == null ? "null" : session.Url);
|
||||
connection.Interrupt();
|
||||
DropSession();
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -179,7 +180,6 @@ namespace XenAdmin.Network
|
||||
session == null ? "null" : session.Url);
|
||||
retrying = true;
|
||||
}
|
||||
DropSession();
|
||||
}
|
||||
|
||||
/// Drop the session so that we'll get a new one the next time.
|
||||
|
Loading…
Reference in New Issue
Block a user