* Update photon-http to implement http pipelining * Update to new naming in photon v0.15+ --------- Co-authored-by: Dmitry Olshansky <[email protected]>
@@ -5,8 +5,8 @@
"copyright": "Copyright © 2025, Dmitry Olshansky",
"dependencies": {
"asdf": "~>0.7.17",
- "photon": "~>0.14.3",
- "photon-http": "~>0.5.5"
+ "photon": "~>0.18.5",
+ "photon-http": "~>0.6.0"
},
"description": "Benchmark of photon-http",
"license": "BSL-1.0",
@@ -69,7 +69,7 @@ void server() {
}
void main() {
- startloop();
+ initPhoton();
go(() => server());
- runFibers();
+ runScheduler();