-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While working on another PR I found out that a new user that tries to create a class has to wait a lot of time for their first class to show. This happens because the `showAchievements` functions has some timeouts of 6 seconds, so the user, as a minimum has to wait this long if they get an achievement. Therefore I reduced the time of the achievements a bit. **How to test** * Log in as teacher3 * Create a class * The class shouldn't take ages to load Other way to test: * Log in as teacher1 * Duplicate a class * The for teachers page should reload quickly You can try that on `main` and see the difference (remember to clear the site data and restore the devdb in order for the achievement to be shown again)
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.