Bitcoin Echo Test seems to work all the way

This commit is contained in:
Rick Falkvinge
2017-11-23 05:20:05 +01:00
parent 24d70c4c77
commit c7efc79c62
14 changed files with 66 additions and 75 deletions
+6
View File
@@ -329,6 +329,12 @@ namespace Swarmops.Backend
{
int signalIndex = 250;
// Handle important service orders (those that can't be lost in a random loss
// of connection of a socket):
BackendServiceOrders backendOrders = BackendServiceOrders.GetNextBatch(5);
backendOrders.Execute(); // takes at most 250ms per he spec
// Block until a SIGINT or SIGTERM signal is generated, or 1/4 second has passed.
// However, we can't do that in a development environment - it won't have the
// Mono.Posix assembly, and won't understand UnixSignals. So people running this in