Problem/Motivation

We experience a flood of timeouts from the SchemaApp API when the page does not have any schema data in SchemaApp. We have set the timeout to a very low 5 seconds to minimize the slow down to the Drupal page rendering.

Please confirm that the following is not causing an infinite loop of requests leading to the timeouts when SchemaApp does not have any data.

  • Drupal: This Drupal schemaapp module requests the data from the SchemaApp API.
  • SchemaApp: SchemaApp API does not have any data stored so it requests the URL in order to scrape the data from the page markup.
  • Drupal: The page is still un-cached in Drupal, so the schemaapp module requests the data from SchemaApp API.
  • BUG: This causes an infinite loop.

Comments

recrit created an issue. See original summary.

joelcummings’s picture

We will schedule this in our next sprint to resolve this. In the meantime you can lower the timeout even more if you like 1-2 seconds should be enough.

joelcummings’s picture

Assigned: Unassigned » joelcummings
Status: Active » Fixed

This has been fixed and is released here: https://www.drupal.org/project/schemaapp/releases/8.x-1.13

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.