Skip to content

Conversation

@mcucchi9
Copy link
Collaborator

@mcucchi9 mcucchi9 commented Dec 10, 2025

This PR introduce an "unauthenticated" top-level key in rate limits configuration to allow for the specifications of overall rate limits for unauthenticated users.
With this feature implemented, the configuration file should like the following:

default:
  post:
    api: <limits>
    ui: <limits>
  get:
    api: <limits>
    ui: <limits> 
  ...
/processes/{process_id}/execution:
  default:
    post:
      api: <limits>
      ui: <limits>
  <process_id_1> (e.g. "reanalysis-era5-single-levels"):
    post:
      api: <limits>
      ui: <limits> 
   ...    
unauthenticated:
  default:
    post:
      api: <limits>
      ui: <limits>
    get:
      api: <limits>
      ui: <limits> 
    ...
  /processes/{process_id}/execution:
    default:
      post:
        api: <limits>
        ui: <limits>
    <process_id_1> (e.g. "reanalysis-era5-single-levels"):
      post:
        api: <limits>
        ui: <limits> 
     ... 

@mcucchi9 mcucchi9 changed the title Rate lmits configuration for unauthenticated users Rate limits configuration for unauthenticated users Dec 10, 2025
Copy link
Contributor

@keul keul left a comment

Choose a reason for hiding this comment

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

Format LGTM to me

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.

3 participants