Skip to content

Commit

Permalink
Enabled Redis by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Aug 16, 2024
1 parent 5d6e9bb commit 4ddd130
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ DRUPAL_SHIELD_PRINT="Restricted access."
#;< REDIS
# Enable Redis integration.
# See settings.redis.php for details.
DRUPAL_REDIS_ENABLED=0
DRUPAL_REDIS_ENABLED=1
#;> REDIS

#;< CLAMAV
Expand Down
2 changes: 1 addition & 1 deletion .scaffold/docs/content/workflows/variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ Defined in: `.env`

Enable Redis integration.<br />See settings.redis.php for details.

Default value: `UNDEFINED`
Default value: `1`

Defined in: `.env`

Expand Down
10 changes: 10 additions & 0 deletions tests/behat/features/redis.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@redis @p0
Feature: Redis

Ensure that Redis caching is working correctly.

@api
Scenario: Check Redis caching report page
Given I am logged in as a user with the "administrator" role
And I go to "/admin/reports/redis"
Then I should see the text "Connected, using the PhpRedis client."

1 comment on commit 4ddd130

@github-actions
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.