Hot payouts integrated in backend 5-min interval

This commit is contained in:
Rick Falkvinge
2015-10-12 20:35:05 +02:00
parent d5e6980873
commit bf24766329
3 changed files with 3 additions and 8 deletions
+2 -4
View File
@@ -368,10 +368,8 @@ namespace Swarmops.Backend
try
{
/*BotLog.Write(1, "FiveMinute", "Starting press release checker");
TestTrace("Running PressReleaseChecker.Run()...");
PressReleaseChecker.Run();
TestTrace(" done.\r\n");*/
BotLog.Write(1, "FiveMinute", "Starting automated payout processing");
Payouts.PerformAutomated();
}
catch (Exception e)
{
+1 -1
View File
@@ -727,7 +727,7 @@ namespace Swarmops.Logic.Financial
secondaryStrings["BitcoinAddress"] = person.BitcoinPayoutAddress; // potential rare race condition
OutboundComm.CreateNotification (organization, NotificationResource.Bitcoin_PaidOut, primaryStrings,
secondaryStrings, People.FromSingle (Person.FromIdentity (1)));
secondaryStrings, People.FromSingle(person));
}
// Create the master payout from its prototype
-3
View File
@@ -23,9 +23,6 @@ namespace Swarmops.Frontend.Pages.v5.Financial
{
this.PageAccessRequired = new Access (this.CurrentOrganization, AccessAspect.Participant);
// TEMP
//Payouts.PerformAutomated();
/* TEMP TEMP TEMP - REMOVE THIS CODE */
/*
Organization fwn = Organization.FromIdentity (2);