Skip to content

Commit

Permalink
Merge pull request PowerDNS#7598 from jsoref/spelling
Browse files Browse the repository at this point in the history
Spelling
  • Loading branch information
Habbie authored Apr 3, 2019
2 parents 077cdfd + 6d83b8b commit adf1f52
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion modules/lmdbbackend/lmdb-typed.hh
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public:
return count;
}

//! End iderator type
//! End iterator type
struct eiter_t
{};

Expand Down
8 changes: 4 additions & 4 deletions pdns/dnsdist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1965,8 +1965,8 @@ static void healthChecksThread()

if (!dss->upStatus) {
/* we were marked as down */
dss->consecutiveSuccesfulChecks++;
if (dss->consecutiveSuccesfulChecks < dss->minRiseSuccesses) {
dss->consecutiveSuccessfulChecks++;
if (dss->consecutiveSuccessfulChecks < dss->minRiseSuccesses) {
/* if we need more than one successful check to rise
and we didn't reach the threshold yet,
let's stay down */
Expand All @@ -1976,7 +1976,7 @@ static void healthChecksThread()
}
else {
/* check failed */
dss->consecutiveSuccesfulChecks = 0;
dss->consecutiveSuccessfulChecks = 0;

if (dss->upStatus) {
/* we are currently up */
Expand All @@ -2002,7 +2002,7 @@ static void healthChecksThread()

dss->upStatus = newState;
dss->currentCheckFailures = 0;
dss->consecutiveSuccesfulChecks = 0;
dss->consecutiveSuccessfulChecks = 0;
if (g_snmpAgent && g_snmpTrapsEnabled) {
g_snmpAgent->sendBackendStatusChangeTrap(dss);
}
Expand Down
2 changes: 1 addition & 1 deletion pdns/dnsdist.hh
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ struct DownstreamState
uint16_t xpfRRCode{0};
uint16_t checkTimeout{1000}; /* in milliseconds */
uint8_t currentCheckFailures{0};
uint8_t consecutiveSuccesfulChecks{0};
uint8_t consecutiveSuccessfulChecks{0};
uint8_t maxCheckFailures{1};
uint8_t minRiseSuccesses{1};
StopWatch sw;
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/docs/changelog/4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Changelogs for 4.1.x
:version: 4.1.11
:released: 1st of February 2019

Since Spectre/Meltdown, system calls have become more expensive. This made exporting a very high number of protobuf messages costly, which is addressed in this release by reducing the number of sycalls per message.
Since Spectre/Meltdown, system calls have become more expensive. This made exporting a very high number of protobuf messages costly, which is addressed in this release by reducing the number of syscalls per message.

.. change::
:tags: Improvements
Expand Down
2 changes: 1 addition & 1 deletion regression-tests.dnsdist/test_Advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ def testHeaderOnlyNXDResponse(self):
self.assertEquals(query, receivedQuery)
self.assertEquals(receivedResponse, response)

class TestAdvancedEDNSVersionnRule(DNSDistTest):
class TestAdvancedEDNSVersionRule(DNSDistTest):

_config_template = """
newServer{address="127.0.0.1:%s"}
Expand Down

0 comments on commit adf1f52

Please sign in to comment.