Distinguish between excess server load and excessive connection work.

This commit is contained in:
JoelKatz
2013-03-08 13:45:43 -08:00
parent b71f16b8b8
commit b10a2c7a18
3 changed files with 3 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ Json::Value rpcError(int iError, Json::Value jvResult)
{ rpcUNKNOWN_COMMAND, "unknownCmd", "Unknown method." },
{ rpcWRONG_SEED, "wrongSeed", "The regular key does not point as the master key." },
{ rpcTOO_BUSY, "tooBusy", "The server is too busy to help you now." },
{ rpcSLOW_DOWN, "slowDown", "You are placing too much load on the server." },
};
int i;