-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.cs
27 lines (22 loc) · 1.01 KB
/
Settings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace CirclesLand.BlockchainIndexer
{
public class Settings
{
public static string ConnectionString;
public static string RpcEndpointUrl;
public static int UseBulkSourceThreshold = 10;
public static int BulkFlushInterval = 25;
public static int SerialFlushInterval = 1;
public static int ErrorRestartPenaltyInMs = 1000 * 5;
public static int MaxErrorRestartPenaltyInMs = 1000 * 60 * 2;
public static int PollingIntervalInMs = 500;
public static int MaxParallelBlockDownloads = 24;
public static int MaxDownloadedBlockBufferSize = 24 * 25;
public static int MaxParallelReceiptDownloads = 96;
public static int MaxDownloadedTransactionsBufferSize = 96 * 25;
public static int MaxDownloadedReceiptsBufferSize = 96 * 25;
public static int WriteToStagingBatchSize = 2000;
public static int WriteToStagingBatchMaxIntervalInSeconds = 5;
public static int MaxWriteToStagingBatchBufferSize = 25;
}
}