mirror of
https://github.com/status-im/metro.git
synced 2025-01-11 11:34:24 +00:00
Fine-tune adjustments to experimental caches
Reviewed By: jeanlauliac Differential Revision: D7185544 fbshipit-source-id: b4b6c363910a80f906260afe49a72d476609ae14
This commit is contained in:
parent
8fd56bf2e5
commit
a4c417a1c5
@ -30,7 +30,7 @@ function canonicalize(key: string, value: mixed): mixed {
|
||||
|
||||
function stableHash(value: mixed) {
|
||||
return crypto
|
||||
.createHash('md5')
|
||||
.createHash('md4')
|
||||
.update(JSON.stringify(value, canonicalize))
|
||||
.digest();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user