Skip to content

Comments

Added throttle token and updated config load#893

Open
nsemets wants to merge 1 commit intoCenterForOpenScience:feature/fair-signpostingfrom
nsemets:fix/ssr-throttle-token
Open

Added throttle token and updated config load#893
nsemets wants to merge 1 commit intoCenterForOpenScience:feature/fair-signpostingfrom
nsemets:fix/ssr-throttle-token

Conversation

@nsemets
Copy link
Collaborator

@nsemets nsemets commented Feb 23, 2026

  • Ticket: []
  • Feature flag: n/a

Summary of Changes

  1. Added throttle token.
  2. Updated config load.

@nsemets nsemets requested a review from brianjgeiger February 23, 2026 13:14
Copy link
Contributor

@brianjgeiger brianjgeiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing that may or may not be a problem.

if (isPlatformServer(platformId)) {
const environment = inject(ENVIRONMENT);

if (environment.throttleToken) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be in a getter to handle the runtime nature of our configuration system?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't need it here.

@nsemets nsemets requested a review from brianjgeiger February 24, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants