Skip to content

Commit

Permalink
Check Spelling (Database Performance page) (#91)
Browse files Browse the repository at this point in the history
* Remove database performance page from exclusion

* Add accepted words

* Correct spelling errors
  • Loading branch information
sfadriaan authored Jul 23, 2024
1 parent 6cd28a7 commit 8500de5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ backported
backtrace
Backtraces
barfunc
BatchNavigator
batchnavigator
Becca
BEM
Bionic's
Expand Down Expand Up @@ -90,6 +92,7 @@ Dalia's
Danilo
DatabaseSchemaChangesProcess
DatabaseSetup
DateTimeJSONEncoder
DatetimeUsageGuide
DavidAllouche
dbpatches
Expand All @@ -104,9 +107,12 @@ debhelper
debian
DebuggingWithGdb
debversion
DecoratedResultSet
DecoratedResultSets
defense
defense
deps
Desc
dev
dh
dia
Expand Down Expand Up @@ -147,6 +153,7 @@ flavor
ForbiddenAttribute
FooBar
foofunc
foos
formatter
formlib
FreshLogs
Expand Down Expand Up @@ -178,6 +185,7 @@ html
http
https
https
indexable
iframe
iharness
IBranchMergeProposal
Expand All @@ -197,7 +205,9 @@ IPerson
IPv
IPython
irc
IRangeFactory
IRCMeetings
iter
javascript
JavascriptUnitTesting
Javadoc
Expand All @@ -206,6 +216,7 @@ jenkins
jinja
js
JScript
JSONEncoder
keyring
kiko
kompare
Expand All @@ -222,6 +233,7 @@ lazr
libera
libgit
lifecycle
ListRangeFactory
listdir
LivePatching
LiveScript
Expand Down Expand Up @@ -337,8 +349,13 @@ ppa
PPA
PQM
pre
pre_iter_hook
prejoining
prejoins
PreMergeReviews
prepending
prepopulate
prepopulation
preprocessed
prioritize
prober
Expand All @@ -357,6 +374,7 @@ PyPI
qa
QAProcess
qastaging
QueryCollector
queueddelivery
queuedDelivery
QueuedDelivery
Expand All @@ -369,6 +387,8 @@ realizes
ReleaseCycles
repo
RESTful
resultset
ResultSets
rocketfuel
rollout
rollouts
Expand All @@ -392,6 +412,7 @@ setUp
setupDTCBrowser
setupRosettaExpertBrowser
setuptools
simplejson
simplestreams
slony
Slony
Expand All @@ -410,6 +431,8 @@ soyuz
specialized
specializes
sql
SQLBase
SQLObjectResultSets
SRE
SREs
srv
Expand All @@ -422,6 +445,8 @@ stepto
steve
stg
StormMigrationGuide
StormRangeFactory
StormStatementRecorder
stubmailer
stubMailer
StyleGuides
Expand All @@ -430,6 +455,7 @@ subclassing
subdirectory
subprocess
subproject
subselects
sudo
SuggestivePOTemplate
summarized
Expand All @@ -443,6 +469,7 @@ syntaxes
systemd
TableRenamePatch
talisker
TAs
TeamEmail
templating
testability
Expand Down Expand Up @@ -498,6 +525,7 @@ virtualenv
virtualenvs
VPN
VPOTExport
webapp
webdav
webhook
webservice
Expand Down
2 changes: 1 addition & 1 deletion .sphinx/spellingcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ matrix:
- .custom_wordlist.txt
output: .sphinx/.wordlist.dic
sources:
- _build/**/*.html|!_build/explanation/code/index.html|!_build/explanation/database-performance/index.html|!_build/explanation/storm-migration-guide/index.html
- _build/**/*.html|!_build/explanation/code/index.html|!_build/explanation/storm-migration-guide/index.html
pipeline:
- pyspelling.filters.html:
comments: false
Expand Down
6 changes: 3 additions & 3 deletions explanation/database-performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ can be used to do this in combination with a

Be sure to clear these caches with a Storm invalidation hook, to avoid
test suite fallout. Objects are not reused between requests on the
appservers, so we're generally safe there. (Our storm and sqlbase
appservers, so we're generally safe there. (Our storm and SQLBase
classes within the Launchpad tree have these hooks, so you only need to
manually invalidate if you are using storm directly).

Expand Down Expand Up @@ -137,7 +137,7 @@ one of these tools.

- StormStatementRecorder, LP_DEBUG_SQL=1, LP_DEBUG_SQL_EXTRA=1,
QueryCollector. In extremis you can also turn on statement logging in
QueryCollector. In extremes you can also turn on statement logging in
postgresql. [Note: please add more detail if you are reading this and
have the time and knowledge.]
- Raise an exception at a convenient point, to cause a real OOPS.
Expand All @@ -146,7 +146,7 @@ Efficient batching of SQL result sets: StormRangeFactory
--------------------------------------------------------

Batched result sets are rendered via the class
canonical.launchpad.webapp.bachting.BatchNavigator. (This class is a
canonical.launchpad.webapp.batching.BatchNavigator. (This class is a
thin wrapper around lazr.batchnavigator.BatchNavigator.)

BatchNavigator delegates the retrieval of batches from a result set to
Expand Down

0 comments on commit 8500de5

Please sign in to comment.