Comments (4)
What I've found so far is that this exception happens in two tasks at the same time. (trio.MultiError)
One is trying to release the global lock, the other the local one (that's the exception above).
I will try to find a reproducible case.
from curious.
OK, I think I understand what's happening and will try to make a PR.
from curious.
That ratelimit lock code is mostly a holdover from when the library was curio-exclusive (and it worked fine then). That code is due for a rewrite anyway (to wait on the next operation of a ratelimit instead of sleeping when the limit is hit).
from curious.
Well, until the rewrite is done, we could fix what's currently there :)
from curious.
Related Issues (15)
- TODO List HOT 1
- Add set protection
- Reduce boilerplate
- implementation request: move member feature HOT 1
- 0.7.8 release? HOT 3
- Request multiple guilds in chunking
- message_update events disappear in private channels that are not newly created HOT 3
- joined_at is randomly None
- Release 0.7.9 HOT 1
- Distributed Roadmap
- Current 0.7 branch crashes on WEBHOOK_UPDATE event HOT 4
- Add PEP 567 support
- Properly unwrap typing annotations
- Change a bunch of `object_ids` fields to sets.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curious.