-
Notifications
You must be signed in to change notification settings - Fork 61
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
add: new size based LRU cache & minor fixes #76
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hmmm, test freezes. |
So 100 threads seems to be too much for a single-core machine. There are two solutions: use gevent, or use parallelism. I don't know what solution will be eligible for translatepy. |
This is weird since Python should really allocate threads if it can |
@Animenosekai, So even with a 1 thread pool, Github CI just hangs (link). Maybe we should use asyncio for lru_cache? |
Do you really think it hangs because of the ThreadPool ? Seems weird that GitHub Actions have issues with such a common object |
I probably came to the wrong conclusion, in fact I did set the thread pool size to zero and there were no changes to the hangs. |
Test hanging is fixed! |
Closes #58