Removing USE_LZ4_CONFIGS prop dependency
This commit is contained in:
parent
c38b78e9d3
commit
2e965dcf98
|
@ -0,0 +1 @@
|
||||||
|
tags
|
|
@ -242,7 +242,7 @@ function _config_unpack_payload($format, $payload)
|
||||||
return config_msgpack_unpack($msg_packed);
|
return config_msgpack_unpack($msg_packed);
|
||||||
}
|
}
|
||||||
|
|
||||||
function config_make_standalone_ext_bundle(array $configs, $file_path)
|
function config_make_standalone_ext_bundle(array $configs, $file_path, $use_lz4 = true)
|
||||||
{
|
{
|
||||||
$cache_entries = array();
|
$cache_entries = array();
|
||||||
foreach($configs as $conf)
|
foreach($configs as $conf)
|
||||||
|
@ -261,7 +261,7 @@ function config_make_standalone_ext_bundle(array $configs, $file_path)
|
||||||
$cache_entries[] = $entry;
|
$cache_entries[] = $entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
$packed_data = config_pack_bundle($cache_entries, get('USE_LZ4_CONFIGS'));
|
$packed_data = config_pack_bundle($cache_entries, $use_lz4);
|
||||||
|
|
||||||
ensure_write($file_path, $packed_data);
|
ensure_write($file_path, $packed_data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue