N
N
newbieman2015-08-15 11:02:39
Yii
newbieman, 2015-08-15 11:02:39

Why does the action take a long time to load in yii2?

Hello,
there is a dev version of the framework. It has a separate user module.
When trying certain actions, except for registration and login, the action or module is loaded for a very long time. (from 3 seconds to 15, sometimes more and the server issues a timeout).
Tried to disable debug. Did not help.
Rolled back controller and model files to older versions. Did not help.
writes in the logs like this.
8 07:57:10.032 trace yii\base\Module::getModule Loading module
:
user think long?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-08-15
@matperez

Run the query in the profiler and it will immediately become clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question