I'm trying to use the web service enrol_manual_enrol_users. I'm running into an issue in that for each call to that api it seems I can only send about 20 enrollments at a time. I've tried to send 30 but the enrollments don't take effect and I get no errors.
Anyone have any insight on this. I setup a test server where I was sending 22,000 enrolments through the API. It seemed that when I sent that it would only process between 150-300 updates/inserts before it would quit. So I broke the enrolment calls into 200 enrolment chunks and was able to get all the enrollments to process. Is the API script timing out? If it is how can I increase it?
Can someone who uses this function tell me how they are doing this. I'm also using xml-rpc so I don't know if that has anything to do with it.
BUMP
Come on someone has to be using this function and can tell me if they have any issues with this??????
I believe that the following may be related.
https://moodle.org/mod/forum/discuss.php?d=260108
MDL-45573
For some reason when enrolling students it may be trying to update a quiz and since the quiz is locked the enrol api is failing