Skip to content

Commit

Permalink
set correct value for full_page_cache/caching_application if varnish …
Browse files Browse the repository at this point in the history
…is disabled
  • Loading branch information
ejnshtein committed Oct 13, 2022
1 parent 62e8717 commit 161a048
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ const varnishConfigSetup = () => ({
`);

// update cache policy to not use varnish
// 0 - magento cache, 2 - varnish cache
// 1 - magento cache, 2 - varnish cache
await updateTableValues('core_config_data', [
{
path: 'system/full_page_cache/caching_application',
value: '0'
value: '1'
}
], { databaseConnection, task });
}
Expand Down

0 comments on commit 161a048

Please sign in to comment.