mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-05 05:27:35 +08:00
bugfix(config etcd): when we reset the fetched data, sync_times
also needs to be reset. (#1785)
This commit is contained in:
parent
d787cbd55e
commit
3061aeefa3
@ -308,6 +308,7 @@ local function sync_data(self)
|
||||
key = short_key(self, self.values[i].key)
|
||||
self.values_hash[key] = i
|
||||
end
|
||||
self.sync_times = 0
|
||||
end
|
||||
|
||||
self.conf_version = self.conf_version + 1
|
||||
|
Loading…
Reference in New Issue
Block a user