Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incrementally write output #8

Open
aph3rson opened this issue Aug 30, 2018 · 0 comments
Open

Incrementally write output #8

aph3rson opened this issue Aug 30, 2018 · 0 comments

Comments

@aph3rson
Copy link

If using this with a large number of usernames, the execution could take some time. Therefore, if an unhandled exception occurs (e.g. communication failure, I/O error, etc.), the script will stop executing, and all intermediate results will be lost.

If the script were to write results incrementally (i.e. once per attempt), instead of at the end of the execution, any intermediate fatal issues wouldn't compromise the output data. This would work well for CSV/text output, but might need some special handling for JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant