Closed ZhymabekRoman closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
translate | ❌ Failed (Inspect) | Jun 27, 2023 0:44am |
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.
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?
@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
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