Force the use of offset and limit for the api, and set max value for limit
CompletedWe are opening up the api to have processes gather information from device42. On on occurance one of those processes froze Device42 for more then an hour, as the process was requesting all registrations at once, requesting allmost all information. The system was running 100% cpu all that time, even on 4 cores assigned to the system.
The process was not making use of the offsetand limit option.
I'd like to request to be able to force the use of offset and limit for the api requests to prevent this from happening in the future, and also to be able to set maximum value for limit. In the case a request is not providing the offset and limit option, that only a limited set of data is returned, let's say based on the limit set in the config.
-
Arjen,
This has been added as an option now: http://blog.device42.com/2016/03/enforce-api-get-call-limit-and-security-updates-with-v9-6-0/
Regards,
Raj
0
Please sign in to leave a comment.
Comments
1 comment