Steps:
- Prepare .csv file with lots of users (ie: > Maximum Users/Process setting)
- Create import
- Run cron.php
- While cron.php is running, click Continue Processing
Result: several import errors will be logged (duplicate email)
Seems to me that the simplest fix would be to check to see if another process is working on the import before starting. Perhaps use a variable as some sort of a mutex?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | user_import_run_mutex-1244298-1.patch | 957 bytes | ryan_courtnage |
Comments
Comment #1
ryan_courtnage commentedSomething like the attached perhaps?
Comment #2
ryan_courtnage commentedComment #3
robert castelo commentedAgreed that this could be a problem, but not sure about this solution - there's the possibility of the mutex not being deleted and the import being stuck forever.