deck icon indicating copy to clipboard operation
deck copied to clipboard

Performance issue?

Open StCyr opened this issue 3 years ago • 0 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug

I've got a lot of such messages when retrieving stacks of a board:

"app":"deck","method":"GET","url":"/index.php/apps/deck/stacks/10","message":"Controller OCA\\Deck\\Controller\\StackController::index created 140 QueryBuilder objects, please check if they are created inside a loop by accident.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2"} "app":"deck","method":"GET","url":"/index.php/apps/deck/stacks/10","message":"Controller OCA\\Deck\\Controller\\StackController::index executed 140 queries.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2"}

Is it normal?

To Reproduce Steps to reproduce the behavior:

  1. Go to Deck's web interface and open a board with 10+ cards

Expected behavior In an ideal world such messages should not appear imho. At least messages recommand to check if the QueryObjects aren't created inside a loop by accident. So, I think it's worth creating an issue.

Screenshots No screenshots, everything seems to be working ok appart from these messages

Client details:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Device: [e.g. iPhone6, desktop]
Server details

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

StCyr avatar Nov 19 '21 10:11 StCyr