-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Open
Labels
unconfirmNot yet confirmed by maintainersNot yet confirmed by maintainers⚡️ PerformancePerformance issuePerformance issue
Description
📱 Client Type
Web (Desktop Browser)
💻 Operating System
Other Linux
📦 Deployment Platform
Official Cloud, Self hosting Docker
🔧 Deployment Mode
server db (lobe-chat-database image)
📌 Version
latest
🌐 Browser
Chrome
🐛 Bug Description
rewrite Query makes around : 8656.265869140625 ms
its so long for a request
my proxy and internet are stable look at this
nextAuthMiddleware: 0.054ms
POST /trpc/lambda/message.updateMetadata?batch=1 200 in 439ms (compile: 404ms, proxy.ts: 8ms, render: 27ms)
nextAuthMiddleware: 0.057ms
POST /trpc/lambda/message.createMessage?batch=1 200 in 47ms (compile: 8ms, proxy.ts: 9ms, render: 30ms)
nextAuthMiddleware: 0.038ms
CheckAuth: 0.105ms
nextAuthMiddleware: 0.033ms
checkCredit: 7.225ms
Init Chat Model: 24.223ms
Chat: 1.144s chat it self takes much much lower time ....
nextAuthMiddleware: 0.037ms
CreateUsage: 6.587ms
POST /webapi/chat/openai 200 in 6.8s (compile: 430ms, proxy.ts: 6ms, render: 6.3s)
nextAuthMiddleware: 0.037ms
POST /trpc/lambda/message.update?batch=1 200 in 408ms (compile: 376ms, proxy.ts: 6ms, render: 26ms)
nextAuthMiddleware: 0.041ms
POST /trpc/lambda/message.updateMetadata?batch=1 200 in 449ms (compile: 418ms, proxy.ts: 7ms, render: 25ms)
nextAuthMiddleware: 0.06ms
POST /trpc/lambda/message.createMessage?batch=1 200 in 31ms (compile: 5ms, proxy.ts: 7ms, render: 19ms)
nextAuthMiddleware: 0.039ms
CheckAuth: 0.111ms
nextAuthMiddleware: 0.032ms
checkCredit: 13.608ms
Init Chat Model: 36.921ms
Chat: 1.659s
nextAuthMiddleware: 0.031ms
CreateUsage: 7.396ms
POST /webapi/chat/openai 200 in 5.4s (compile: 466ms, proxy.ts: 5ms, render: 4.9s)
nextAuthMiddleware: 0.036ms
POST /trpc/lambda/message.update?batch=1 200 in 405ms (compile: 380ms, proxy.ts: 6ms, render: 19ms)
nextAuthMiddleware: 0.041ms
GET /api/auth/session 200 in 424ms (compile: 404ms, proxy.ts: 11ms, render: 9ms)
nextAuthMiddleware: 0.053ms
GET /api/auth/session 200 in 20ms (compile: 4ms, proxy.ts: 9ms, render: 8ms)
nextAuthMiddleware: 0.051ms
GET /api/auth/session 200 in 415ms (compile: 394ms, proxy.ts: 10ms, render: 12ms)
nextAuthMiddleware: 0.094ms
nextAuthMiddleware: 0.058ms
GET /api/auth/session 200 in 451ms (compile: 11ms, proxy.ts: 427ms, render: 13ms)📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
🛠️ Willing to Submit a PR?
None
✅ Validations
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a LobeChat issue and not a third-party library or provider issue.
- Check that this is a concrete bug. For Q&A, please use GitHub Discussions or join our Discord Server.
dosubot
Metadata
Metadata
Assignees
Labels
unconfirmNot yet confirmed by maintainersNot yet confirmed by maintainers⚡️ PerformancePerformance issuePerformance issue