Let's fix this too

This commit is contained in:
Rick Falkvinge
2017-01-04 02:47:23 +01:00
parent f3b3bb7db1
commit aac5e4df35
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -49,6 +49,7 @@ namespace Swarmops.Backend
People.FromSingle(Person.FromIdentity(comm.SenderPersonId)));
}
comm.StartTransmission();
continue; // continue is not strictly necessary; could continue processing the same OutboundComm after resolution
}
@@ -65,8 +66,6 @@ namespace Swarmops.Backend
BotLog.Write(2, "CommsTx", "--transmitting to " + recipients.Count.ToString("N0") + " recipients");
comm.StartTransmission();
foreach (OutboundCommRecipient recipient in recipients)
{
try
@@ -111,7 +110,7 @@ namespace Swarmops.Backend
TimeSpan totalTime = resolveTime + transmitTime;
customStrings["TransmissionTime"] = FormatTimespan(transmitTime);
customStrings["ResolveTime"] = FormatTimespan(resolveTime);
customStrings["ResolvingTime"] = FormatTimespan(resolveTime);
customStrings["TotalTime"] = FormatTimespan(totalTime);
if (resolver is IHasGeography)
{
+1
View File
@@ -55,6 +55,7 @@ namespace Swarmops.Logic.Communications
{
SwarmDb.GetDatabaseForWriting().SetOutboundCommClosed (Identity);
base.Open = false;
base.ClosedDateTime = DateTime.UtcNow;
}
else
{