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

async cloudflare file-get #2922

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wlvchandler
Copy link

The srv.txt file is not guaranteed to be ready and can throw a fatal index oob exception without an immediately clear reason. Even sleep(4) wasn't enough on every hardware. This is more responsive and avoids guesswork with the timing.

Side note: I tried a "simpler" synchronous version as well of course and they perform the same. But using colab's async loop is better in general for future additions.

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

Successfully merging this pull request may close these issues.

1 participant