-
Notifications
You must be signed in to change notification settings - Fork 402
Open
Labels
status: awaiting answerAwaiting answer from the author of issue or PR.Awaiting answer from the author of issue or PR.type: featureIssues related to new features.Issues related to new features.
Milestone
Description
Hello Guys,
The response time take too much time in order to return the response of a big json result.
while tracing the issue i get the result from database in about 1.2 sec as a json result, then after return it to action method takes too much time to resolve (about 20-30 seconds).
I tried using @controller() instead of @jsoncontroller() in order to not forcing the response to re-parse again, with no effect.
The only solution worked with me is, getting the KOA context "@ctx()" and send the result directly, and it's working fine now.
Any other solution for this issue?
Metadata
Metadata
Assignees
Labels
status: awaiting answerAwaiting answer from the author of issue or PR.Awaiting answer from the author of issue or PR.type: featureIssues related to new features.Issues related to new features.