symfony-swoole / swoole-bundle Goto Github PK
View Code? Open in Web Editor NEWSymfony Swoole Bundle
License: MIT License
Symfony Swoole Bundle
License: MIT License
If HTTP request comes when onWorkerStart event is not finished yet, request is processed which is not desired. On request event should wait until start event finish, then start processing requests.
Idea, taken from hyperf fw: We can use Channel, size 1, onRequest call pop(), and wait until onWorkerStrart close the channel.
Since symfony 6.4 AddDebugLogProcessorPass
dperecated function configureLogger
and change debug_logger_configurator
, so it seems DebugLogProcessorPass class from bundle is not correct/needed anymore.
MR with sf change: https://github.com/symfony/symfony/pull/52079/files#diff-e4f52d5033296421d02e360c8355aa1931bdfb0c12579f4815ea02b724322c0cL1179
https://symfony.com/doc/current/reference/configuration/kernel.html#kernel-runtime-mode
Simple fix can be remove class DebugLogProcessorPass
and set sf. parameter: kernel.runtime_mode.web: true
which is used as second param in DebugLoggerConfigurator
I am migrating from the K911 original package that is not maintained anymore.
Server is starting but I get an error using BloomRPC (using GRPC).
I am using openswoole.
This is the error I get when I put level to debug:
TRACE Port_onRead_http() (ERRNO 7102): Bad Request: unknown protocol from session#3 on 0.0.0.0:50051
(I am running on port 50051).
I am not the original developer that setup grpc and swoole in the first place (they are not working in the company anymore).
If you have any idea to help me pin point the problem let me know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.