Currently, there is no request timeout set in SchemaAppCache::cdnGet() which leads to \Drupal::httpClient()'s default 30 second timeout to be used which leads to blocking the main request that is serving the Drupal page when the schemaapp.com is slow or un-responsive.
Updates needed:
* Add a request timeout to the module's configuration. Default: 30 sec or lower. Sites can lower as needed, example 5 sec.
* Use the request timeout config in SchemaAppCache::cdnGet() when performing the request.
Comments
Comment #2
joelcummings commentedComment #3
recrit commentedComment #4
joelcummings commentedDone in new release: https://www.drupal.org/project/schemaapp/releases/8.x-1.1