Forum Discussion

peanutbutter's avatar
peanutbutter
Frequent Visitor
6 years ago

ReviewService.getVersions maxing out the system

Hello, 

I was testing the API because I want to get the scmIds using a reviewId.

I ran the following command while logged in:

 

{"command" : "ReviewService.getVersions",
"args":{"reviewId":"54654"}
}

 

and the server maxed out (CPU/RAM) and froze (happened twice).

Is it possible that it happened because I passed the reviewId as string?

I could try passing the reviewId as int like this: "args":{"reviewId":54654}, but I don't want to risk another freeze as that would stop my colleagues from accessing Colab again.

No RepliesBe the first to reply