Skip to content

Commit 85a1eed

Browse files
committed
Set datastore if global is not set
1 parent 04ae67b commit 85a1eed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/VWF/Utils.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,10 @@ sub _configure_shared_memory($chi_args, $config, $args) {
317317
}
318318

319319
sub _configure_memory($chi_args, $config) {
320-
$chi_args->{global} = $config->{global} // 1;
320+
$chi_args->{'global'} = $config->{'global'} // 1;
321+
if($chi_args->{'global'}) {
322+
$chi_args->{'datastore'} = {};
323+
}
321324
}
322325

323326
sub _configure_memcached($chi_args, $config, $args, $logger) {

0 commit comments

Comments
 (0)