- Issue created by @dejan0
- Status changed to Fixed
10 months ago 2:45pm 15 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.
We've observed an issue with excessive requests being sent to the `/api/v1/apikey-status` endpoint, leading to server performance problems. For instance, `hook_form_node_form_alter()` sends this request for the edited node, and `hook_field_widget_complete_form_alter()` sends the same request multiple times, once for each field/widget on the currently edited node. Much of this seems unnecessary. Sending an API request to check apiKey validity and then deciding whether to display the iframe or not for each field doesn't seem necessary.
Moreover, the mentioned project has `drupal/autosave_form` module active, compounding the issue by triggering these requests every 4-5 seconds.
Fixed
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.