When a larger file is processed and the processing duration is longer, there should be some sort of indicator to show progress. For example, the legacy model would print the current line number every 10k rows. That's not a great solution though as a row could be just one email address or it could be thousands of SQL insert statements. A better solution would be console output every n seconds, for example, every 10 seconds print the current line number.
When a larger file is processed and the processing duration is longer, there should be some sort of indicator to show progress. For example, the legacy model would print the current line number every 10k rows. That's not a great solution though as a row could be just one email address or it could be thousands of SQL insert statements. A better solution would be console output every n seconds, for example, every 10 seconds print the current line number.