Skip to content

Commit ad883cd

Browse files
authored
Merge pull request #637 from navcoin/default-scriptcheck-threads
Set DEFAULT_SCRIPTCHECK_THREADS to auto
2 parents 7058550 + 95e2387 commit ad883cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB
9696
/** Maximum number of script-checking threads allowed */
9797
static const int MAX_SCRIPTCHECK_THREADS = 16;
9898
/** -par default (number of script-checking threads, 0 = auto) */
99-
static const int DEFAULT_SCRIPTCHECK_THREADS = 2;
99+
static const int DEFAULT_SCRIPTCHECK_THREADS = 0;
100100
/** Number of blocks that can be requested at any given time from a single peer. */
101101
static const int MAX_BLOCKS_IN_TRANSIT_PER_PEER = 16;
102102
/** Timeout in seconds during which a peer must stall block download progress before being disconnected. */

0 commit comments

Comments
 (0)