mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +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:
@@ -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