Get ledger acquire work off the main thread and out of the master lock.

Prioritize ledger acquire work appripriately. This should help prevent the
server from becoming overly sluggish while acquiring ledgers. Still todo:
Finish all pending receive operations before sending out any data requests.
This commit is contained in:
JoelKatz
2013-03-15 22:34:55 -07:00
parent 7a76cfe7da
commit e392366c63
6 changed files with 45 additions and 30 deletions

View File

@@ -39,6 +39,7 @@ const char* Job::toString(JobType t)
case jtVALIDATION_ut: return "untrustedValidation";
case jtPROOFWORK: return "proofOfWork";
case jtPROPOSAL_ut: return "untrustedProposal";
case jtLEDGER_DATA: return "ledgerData";
case jtCLIENT: return "clientCommand";
case jtTRANSACTION: return "transaction";
case jtPUBLEDGER: return "publishNewLedger";