Add RPC to load tracking.

This commit is contained in:
JoelKatz
2012-11-20 13:04:17 -08:00
parent b4ff61b9e6
commit 7d4d18bf8d
3 changed files with 4 additions and 0 deletions

View File

@@ -1318,6 +1318,8 @@ Json::Value RPCHandler::doCommand(const std::string& command, Json::Value& param
cLog(lsTRACE) << "RPC:" << command;
cLog(lsTRACE) << "RPC params:" << params;
LoadEvent::pointer le = theApp->getJobQueue().getLoadEvent(jtRPC);
mRole = role;
static struct {