Skip to content

Conversation

@akhil1508
Copy link

@akhil1508 akhil1508 commented Jan 11, 2021

  • Added 7 and 30 day values to the "Active users" stats graph (returned through "lib/SessionStatistics.php" and used in frontend in "js/script.js)
  • Modified unit tests accordingly to test that new values are correctly returned
  • Package "nextcloud/coding-standard" updated to "^0.4.0" from "^0.3.0"(PHPLint refuses to install correctly with 0.3.0 in the checks otherwise)

@akhil1508 akhil1508 force-pushed the frontend_and_test_fixes branch from de92f15 to 3c9c9b6 Compare January 12, 2021 08:37
ConstrictM and others added 26 commits January 12, 2021 14:07
Signed-off-by: Matthew Wener <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: Matthew Wener <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: akhil <[email protected]>
Signed-off-by: akhil <[email protected]>
@akhil1508 akhil1508 force-pushed the frontend_and_test_fixes branch from 3c9c9b6 to 1575062 Compare January 12, 2021 08:37
@akhil1508 akhil1508 changed the title Frontend and test fixes Added 7 and 30 day values to "Active Users" stats graph Jan 18, 2021
@arnauvp
Copy link

arnauvp commented Jan 29, 2021

Ping

@J0WI
Copy link
Contributor

J0WI commented Feb 17, 2021

The performance is already pretty bad on large instances. Most likely due share statistics but better safe than sorry.

@arnauvp
Copy link

arnauvp commented Feb 19, 2021

On our instance, the serverinfo/api/v1/info?format=json call takes up to 5.5 seconds. The DB query to fetch unique users in last 30 days takes ~400ms before it's cached.

@nickvergessen
Copy link
Member

Needs a major overhaul after #420

Want to have a look?

@nickvergessen nickvergessen removed this from the Nextcloud 26 milestone Jan 25, 2023
@akhil1508 akhil1508 closed this Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants