Skip to content

Commit 3f9cb6a

Browse files
authored
Merge pull request #14 from dennisinteractive/memcache_prefix_fix
Use timestamp
2 parents 427a0c5 + ac6a3d7 commit 3f9cb6a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

chain/chain-site-rebuild.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ commands:
3333
- command: site:settings:memcache
3434
arguments:
3535
name: '%{{name}}'
36-
options:
37-
memcache-prefix: '%{{name}}'
3836
# Imports db or installs a site
3937
- command: site:db:import
4038
arguments:

src/Command/SiteSettingsMemcacheCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
7373
}
7474

7575
if (is_null($input->getOption('memcache-prefix'))) {
76-
$input->setOption('memcache-prefix', $this->siteName);
76+
$input->setOption('memcache-prefix', $this->siteName . '_' . microtime(true));
7777
}
7878

7979
// Remove existing file.

0 commit comments

Comments
 (0)