Comments (4)
Hi, TBH I don't know how we could solve issue. Personally, I've not used doctrine resettable bundle so I cannot help you. I've only used this https://github.com/k911/swoole-bundle/blob/develop/src/Bridge/Doctrine/ORM/EntityManagerHandler.php and it was enough for my purposes. Currently, I'm not using any of this so either you can contact pixelfederation or use some other approach like this: https://github.com/swoole/swoole-src#mysql
from swoole-bundle.
Hi, TBH I don't know how we could solve issue. Personally, I've not used doctrine resettable bundle so I cannot help you. I've only used this https://github.com/k911/swoole-bundle/blob/develop/src/Bridge/Doctrine/ORM/EntityManagerHandler.php and it was enough for my purposes. Currently, I'm not using any of this so either you can contact pixelfederation or use some other approach like this: https://github.com/swoole/swoole-src#mysql
How can i use the EntityManagerHandler? Just inject EntityManagerInterface
instead? But i believe it will just the same as timeout when WRK
test fetching a collection of data. But good thing is if i just fetching single data from database WRK
got no timeout.
from swoole-bundle.
swoole:
http_server:
services:
# see: \K911\Swoole\Bridge\Doctrine\ORM\EntityManagerHandler
entity_manager_handler: true
I believe because you already have it configured you either need to uninstall other bundle or turn off this service - I think you shouldn't use both at the same time.
from swoole-bundle.
I uninstalled the other bundle but unfortunately the test result still the same. I got no timeout when i fetch single data from database but timeout when fetching all data from database in wrk
test.
from swoole-bundle.
Related Issues (20)
- [ASK] Is possible to support PHP 7.2.X HOT 1
- Introduce rectorphp / rector in CI Pipeline
- hot reload not work HOT 1
- docs: Update README.md
- Symfony (http foundation) request->getRequestUri() doesn't contain query string HOT 4
- The bundle seems (too) dependent to Doctrine ORM
- Fix CI: release-version script
- Introduce Infection in CI Pipeline
- Your work is a millennium job LOL HOT 2
- Unable to upgrade to v0.8.3 on PHP 8.0 due to assertion BC break HOT 4
- http response is unavailable HOT 1
- Different Voter Result HOT 2
- Bundles seems to skip firewalls HOT 6
- when require ODM
- Use cooperative scheduling in request handling by enabling swoole coroutine hooks for IO functions HOT 2
- Add setting for task_enable_coroutine
- pid_file config does not work
- Some error's do not log.
- Reload does not work with opcache_enabled_cli
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 swoole-bundle.