Let's fix this too
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace Swarmops.Logic.Communications
|
||||
{
|
||||
SwarmDb.GetDatabaseForWriting().SetOutboundCommClosed (Identity);
|
||||
base.Open = false;
|
||||
base.ClosedDateTime = DateTime.UtcNow;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user