Closed lokielse closed 5 years ago
Thanks for your detailed steps, I will check it!
Can you try to add db
to instances
in swoole_http.php
?
Thanks @albertcht
Adding db
to instances
in swoole_http.php
raised an exception which located the bug
.
I used laravel-transactional-events in my project, which cause the problem.
After i remove laravel-transactional-events
as well as removeing db
from instances
. everything works like a charm.
Thank you again, laravel-swoole
is an awesome project.
anytime.
Please provide your PHP and Swoole version. (
php -v
andphp --ri swoole
)Please provide your Laravel/Lumen version.
Which release version of this package are you using?
What did you do? If possible, provide a recipe for reproducing the error.
Step.0: Preparation
Step.1: Simulate a session start a long time transaction
Step.2: Simulate a session in a dead lock
});
‼️ Step 3 always response an order to client in each request after a dead lock exception in step 2, while theses orders were not really commit into database.
exceptions/Handler.php
).ghost orders
196