Comments (4)
It seems the loop optimisations introduced with 0.4 do not play well with how Django uses contextvars.
I gonna release a 0.4.3 in the following days with an option to disable 'em, in the meantime you can pin 0.3.2.
I'll consider to turn those optimisations off by default in next minor, but let's see how it goes.
from granian.
0.4.3 will be available shortly.
You should be able to use ASGI on django adding a --no-opt
option to the granian
command.
from granian.
@Hisham-Pak is that granian 0.4.2? if so, can you make a try with 0.3.2?
from granian.
@gi0baro works fine with 0.3.2
from granian.
Related Issues (20)
- Does granian support SIGHUP to reload config and restart workers? HOT 2
- Flag to disable the logging HOT 3
- Add pypy3.10 wheels
- Tornado support HOT 1
- got Future <Future pending> attached to a different loop HOT 1
- Open call for core contributors/maintainers HOT 1
- Rust awaitables on PyPy are broken HOT 1
- Consider to drop mimalloc HOT 2
- Python code formatting and linting HOT 2
- sniffio._impl.AsyncLibraryNotFoundError: unknown async library, or not in async context HOT 1
- Quart on Windows 10 raises RuntimeError: Already mutably borrowed HOT 5
- Does not work on Raspberry Pi Zero HOT 5
- Disable loop optimisations as default behaviour
- Install error with pip HOT 4
- Bump pyo3 to 0.19 HOT 1
- Lock processes on windows to 1
- ASGI extensions support
- Add support for ASGI lifespan state
- RuntimeError: ASGI transport was closed HOT 2
- Support listening on UNIX domain sockets
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 granian.