Do not stop queuing in import users #3314
Unanswered
BehroozBvk
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Does anyone have an opinion? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Try increasing the chunk size |
Beta Was this translation helpful? Give feedback.
1 reply
-
@BehroozBvk hi, I used the same code as yours but it creates multiple files for each chunks ... Is there any way to write in one file but in this manner ... for example: first chunk will create the file with first chunk result and when next failure chunk comes it will not override the file but write inside it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,I cite this topic: #2304 I have a problem.
I used the above code to import users using, WithChunkReading, WithBatchInserts, ShouldQueue
But instead of sending the notification, I save the validation errors in an Excel file for the user to download later.
So far it works properly but the queue does not stop and it is processed and processed in a row even for a long time until the memory fills up and the system stops.
What is the problem?
@Naoray @patrickbrouwers
ToCollectionImport.php
UserImport.php
UsersFailuresImportedExport.php
Log Queues: Repeat ReadChunk
Beta Was this translation helpful? Give feedback.
All reactions