mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add missing limit for jtUNL jobs
This commit is contained in:
@@ -469,6 +469,7 @@ int JobQueue::getJobLimit (JobType type)
|
||||
// Someone added a JobType but forgot to set a limit.
|
||||
// Did they also forget to add it to ripple_Job.cpp?
|
||||
bassertfalse;
|
||||
break;
|
||||
|
||||
case jtVALIDATION_ut:
|
||||
case jtPROOFWORK:
|
||||
@@ -492,6 +493,7 @@ int JobQueue::getJobLimit (JobType type)
|
||||
case jtPACK: limit = 1; break;
|
||||
case jtPUBOLDLEDGER: limit = 2; break;
|
||||
case jtTXN_DATA: limit = 1; break;
|
||||
case jtUNL: limit = 1; break;
|
||||
|
||||
// If either of the next two are processing so slowly
|
||||
// or we are so busy we have two of them at once, it
|
||||
|
||||
Reference in New Issue
Block a user