コード例 #1
0
 // We intentionally do not consider destination changes when updating the cluster Revision.
 // Revision is used to rebuild routing endpoints which should be unrelated to destinations,
 // and destinations are the most likely to change.
 internal bool HasConfigChanged(ClusterConfig newClusterConfig)
 {
     return(!Options.EqualsExcludingDestinations(newClusterConfig.Options) || newClusterConfig.HttpClient != HttpClient);
 }
コード例 #2
0
 internal bool HasConfigChanged(ClusterConfig newClusterConfig)
 {
     return(!Options.Equals(newClusterConfig.Options));
 }