Skip to content

Commit 29f7958

Browse files
update
1 parent 2599b6a commit 29f7958

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/appConfigurationImpl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,11 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
751751
}
752752

753753
const lastServerResponseTime = pageWatchers[i].lastServerResponseTime;
754-
let isUpToDate = true;
754+
let isResponseFresh = false;
755755
if (lastServerResponseTime !== undefined) {
756-
isUpToDate = serverResponseTime > lastServerResponseTime;
756+
isResponseFresh = serverResponseTime > lastServerResponseTime;
757757
}
758-
if (isUpToDate &&
758+
if (isResponseFresh &&
759759
page._response.status === 200 && // conditional request returns 304 if not changed
760760
page.etag !== pageWatchers[i].etag) {
761761
return true;

src/common/errorMessages.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export const enum ErrorMessages {
2020
INVALID_LABEL_FILTER = "The characters '*' and ',' are not supported in label filters.",
2121
INVALID_TAG_FILTER = "Tag filter must follow the format 'tagName=tagValue'",
2222
CONNECTION_STRING_OR_ENDPOINT_MISSED = "A connection string or an endpoint with credential must be specified to create a client.",
23-
REPLICA_DISCOVERY_NOT_SUPPORTED = "Replica discovery is not supported when loading from Azure Front Door. For guidance on how to take advantage of geo-replication when Azure Front Door is used, visit https://learn.microsoft.com/azure/azure-app-configuration/howto-geo-replication#use-geo-replica-with-azure-front-door",
24-
LOAD_BALANCING_NOT_SUPPORTED = "Load balancing is not supported when loading from Azure Front Door. For guidance on how to take advantage of geo-replication when Azure Front Door is used, visit https://learn.microsoft.com/azure/azure-app-configuration/howto-geo-replication#use-geo-replica-with-azure-front-door",
23+
REPLICA_DISCOVERY_NOT_SUPPORTED = "Replica discovery is not supported when loading from Azure Front Door. For guidance on how to take advantage of geo-replication when Azure Front Door is used, visit https://aka.ms/appconfig/geo-replication-with-afd",
24+
LOAD_BALANCING_NOT_SUPPORTED = "Load balancing is not supported when loading from Azure Front Door. For guidance on how to take advantage of geo-replication when Azure Front Door is used, visit https://aka.ms/appconfig/geo-replication-with-afd",
2525
WATCHED_SETTINGS_NOT_SUPPORTED = "Specifying watched settings is not supported when loading from Azure Front Door. If refresh is enabled, all loaded configuration settings will be watched automatically."
2626
}
2727

0 commit comments

Comments
 (0)