mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
fix: ConfigCache not copied affer server updates (#1008)
* fix: ConfigCache not copied affer server updates * fix: server list not updated when dispatching tasks * improve * reuse logic
This commit is contained in:
1 parent
c0fee50776
commit
54ca4ca0b6
3 files changed
+73
-82
No files matched your search
@@ -52,6 +52,7 @@ func (s *Server) CopyFromRunningServer(old *Server) {
|
||||
s.GeoIP = old.GeoIP
|
||||
s.LastActive = old.LastActive
|
||||
s.TaskStream = old.TaskStream
|
||||
s.ConfigCache = old.ConfigCache
|
||||
s.PrevTransferInSnapshot = old.PrevTransferInSnapshot
|
||||
s.PrevTransferOutSnapshot = old.PrevTransferOutSnapshot
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user