amazeeio / drupal-integrations

Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Lagoon.
https://packagist.org/packages/amazeeio/drupal_integrations
1 stars 4 forks source link

remove drush cache use, it's not drush-11 compatible #8

Closed tobybellwood closed 2 years ago

tobybellwood commented 2 years ago

As per #7, drush 11 no longer contains a cache interface. This PR removes the functionality in this package to cache the resultant JWT from a drush la or drush jwt request.

Timing shows that this is a ~5second impact on subsequent requests <10 mins apart. There is no impact to any alias commands.

It also adds a couple of syntax tidyups

closes #7