Skip to content

Commit

Permalink
Fix validation, but not validating them?
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-anderson committed Dec 20, 2024
1 parent bd82356 commit 40db86f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/generation/gradle/validateSite.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if (!repositories) {

// links that are allowed to be http rather than https
def httpLinks = [
"http://www.slf4j.org"
"http://www.slf4j.org",
"http://www.eckner.com/papers/Algorithms%20for%20Unevenly%20Spaced%20Time%20Series.pdf" // only available via http
]

// links to exclude from validation (for example because they require authentication or use untrusted cert)
Expand Down Expand Up @@ -190,6 +191,7 @@ for (location in ["local", "remote"]) {
conn.connect()
def responseCode = conn.responseCode
if (responseCode != 200 &&
responseCode != 302 && // common redirect status
responseCode != 403/* github auth */ &&
responseCode != 429 /* github rate limiting */) {
errors.add("$submittedHtmlFile: Unexpected HTTP status code `$responseCode` " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ choices and the flexibility to add more if necessary.

==== Power of two Choices (P2C)

Power of two choices (https://ieeexplore.ieee.org/document/963420[P2C]) is an algorithm that allows load balancers to
Power of two choices (https://doi.org/10.1109/71.963420[P2C]) is an algorithm that allows load balancers to
bias traffic toward hosts with a better 'score' while retaining the fairness of random selection. This algorithm is
a random selection process but with a twist: it selects two hosts at random and from those two pick the 'best' where
best is defined by a scoring system. ServiceTalk uses an Exponentially Weighted Moving Average
Expand Down

0 comments on commit 40db86f

Please sign in to comment.