Skip to content

Use lower authorization delay to speed up test-ci script by 20%#8362

Open
je-l wants to merge 2 commits intonightscout:devfrom
je-l:faster-tests
Open

Use lower authorization delay to speed up test-ci script by 20%#8362
je-l wants to merge 2 commits intonightscout:devfrom
je-l:faster-tests

Conversation

@je-l
Copy link
Copy Markdown

@je-l je-l commented May 23, 2025

The lib/authorization/index.js module implements throttling for authorization. The test-ci script is using the default delay of 5000ms, which slows down tests. Using the same value as in docs/example-template.env should be sensible.

This change reduces test-ci script execution time from 66.1s to 52.2s on my laptop.

This reduces test-ci script execution time by about 20%.
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.

3 participants