4 Commits

Author SHA1 Message Date
0c9b27a29b chore: optimise creditsController (#2359)
All checks were successful
Build / build (push) Successful in 1m1s
Build Docker image / docker-arm64 (push) Successful in 1m3s
Build Docker image / docker-amd64 (push) Successful in 1m21s
Doing both lookups in parallel saves around 1 ms in the happy case (20% of baseline time), and in case nonce does not match, the error is simply raised as per usual with the inventory request being lightweight enough to be negligible.

Noteworthy that this reasoning doesn't really work for other controllers because in the error case, the inventory request would still be quite significant, even if the HTTP request itself would still finish quickly.

Reviewed-on: #2359
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-30 11:05:49 -07:00
1ae1cf5170 fix: can't rush dojo components with infinitePlatinum (#1138)
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (18) (push) Has been cancelled
Build / build (20) (push) Has been cancelled
Build / build (22) (push) Has been cancelled
Reviewed-on: #1138
2025-03-09 11:15:33 -07:00
5d4c454b0b
chore: optimise creditsController (#815) 2025-01-19 01:58:47 +01:00
571d244985 chore: rename getCreditsController to creditsController 2025-01-04 01:04:58 +01:00