@f5devcentral/atg-storage
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -8,7 +8,11 @@ # Changelog | ||
## [1.3.0] | ||
## [1.3.1] - 2022-3-11 | ||
## Fixed | ||
- StorageDataGroup: Speed up persist() by removing unused write cache logic | ||
## [1.3.0] - 2022-1-18 | ||
## Changed | ||
- Always save data to data group on write in StorageDataGroup | ||
## [1.2.0] | ||
## [1.2.0] - 2022-1-7 | ||
## Added | ||
@@ -19,3 +23,3 @@ - clearCache method | ||
## [1.1.0] - 2020-5-6 | ||
## [1.1.0] - 2021-5-6 | ||
## Added | ||
@@ -22,0 +26,0 @@ - Add StorageJsonFile storage backend to persist on disk using JSON |
{ | ||
"name": "@f5devcentral/atg-storage", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"author": "F5 Networks", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -382,19 +382,2 @@ 'use strict'; | ||
return Promise.resolve() | ||
.then(() => { | ||
if (this.cache) { | ||
return Promise.resolve() | ||
.then(() => this._getRecords()) | ||
.then((records) => { | ||
if (records.length === 0) { | ||
this._ready = false; | ||
} | ||
return Promise.resolve(records); | ||
}) | ||
.then(records => updateDataGroup(this.path, records)) | ||
.then(() => { | ||
this.cache = {}; | ||
}); | ||
} | ||
return Promise.resolve(); | ||
}) | ||
.then(() => new Promise((resolve, reject) => { | ||
@@ -401,0 +384,0 @@ const req = http.request(opts, (res) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30464
444