mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Adjust default number of threads for JobQueue:
The existing calculation would limit the maximum number of threads that would be created by default to at most 6; this may have been reasonable a few years ago, but given both the load on the network as of today and the increase in the number of CPU cores, the value should be revisited. This commit, if merged, changes the default calculation for nodes that are configured as `large` or `huge` to allow for up to twelve threads.
This commit is contained in:
@@ -87,7 +87,8 @@ RCLValidatedLedger::operator[](Seq const& s) const -> ID
|
||||
|
||||
JLOG(j_.warn()) << "Unable to determine hash of ancestor seq=" << s
|
||||
<< " from ledger hash=" << ledgerID_
|
||||
<< " seq=" << ledgerSeq_;
|
||||
<< " seq=" << ledgerSeq_ << " (available: " << minSeq()
|
||||
<< "-" << seq() << ")";
|
||||
// Default ID that is less than all others
|
||||
return ID{0};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user