mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +01:00
parent
f2de0aba65
commit
0f3b77367b
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.17.5
|
||||||
|
|
||||||
|
- fix: skipLocked when updating lastSeen for toggles
|
||||||
|
|
||||||
## 3.17.4
|
## 3.17.4
|
||||||
|
|
||||||
- fix: version-checker must have instanceId
|
- fix: version-checker must have instanceId
|
||||||
|
@ -136,6 +136,8 @@ class FeatureToggleStore {
|
|||||||
try {
|
try {
|
||||||
await this.db(TABLE)
|
await this.db(TABLE)
|
||||||
.whereIn('name', togleNames)
|
.whereIn('name', togleNames)
|
||||||
|
.forUpdate()
|
||||||
|
.skipLocked()
|
||||||
.update({ last_seen_at: now });
|
.update({ last_seen_at: now });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.logger.error('Could not update lastSeen, error: ', err);
|
this.logger.error('Could not update lastSeen, error: ', err);
|
||||||
|
Loading…
Reference in New Issue
Block a user