Hot payouts integrated in backend 5-min interval
This commit is contained in:
+2
-4
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user