Skip to content

Commit

Permalink
chore: fix some comments (near#11853)
Browse files Browse the repository at this point in the history
Signed-off-by: shangchengbabaiban <[email protected]>
  • Loading branch information
shangchengbabaiban authored Jul 31, 2024
1 parent f3c219f commit 2a44f18
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/continous/db/tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- An installation of [`libpq`](https://www.postgresql.org/docs/15/libpq.html).
- The name of the package providing `libpq` differs across operating systems and package managers. For example on Ubuntu you can install `libpq-dev`.
- A `~/.pggass` file with an entry matching the db URL (see [dbprofile](./dbprofile)). Wrong password file setup may lead to unintuitive error messages, therefore it is recommended to read [the docs](https://www.postgresql.org/docs/15/libpq-pgpass.html) to get the the following two points right:
- A `~/.pggass` file with an entry matching the db URL (see [dbprofile](./dbprofile)). Wrong password file setup may lead to unintuitive error messages, therefore it is recommended to read [the docs](https://www.postgresql.org/docs/15/libpq-pgpass.html) to get the following two points right:
- Format of password entries.
- `.pgpass` file permissions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ impl PartialWitnessActor {
target: "client",
?partial_witness,
?possible_epochs,
"Skipping partial witness because its EpochId is is not in the possible list of epochs",
"Skipping partial witness because its EpochId is not in the possible list of epochs",
);
return Ok(false);
}
Expand Down
2 changes: 1 addition & 1 deletion pytest/lib/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def get_chunk(self, chunk_id):

# Get the transaction status.
#
# The default timeout is quite high - 15s - so that is is longer than the
# The default timeout is quite high - 15s - so that is longer than the
# node's default polling_timeout. It's done this way to differentiate
# between the case when the transaction is not found on the node and when
# the node is dead or not responding.
Expand Down
2 changes: 1 addition & 1 deletion tools/debug-ui/src/RecentEpochsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const RecentEpochsView = ({ addr }: RecentEpochsViewProps) => {
// It looks like this:
// 2024,180,0,15,28,88423066,0,0,0
// year,days,hours,minutes,seconds,nanoseconds,timezone offsets
// The solution below parses the first part of the date object, up the the seconds, in UTC.
// The solution below parses the first part of the date object, up the seconds, in UTC.
epochStartColumn = `${formatDurationInMillis(
Date.now() -
parse(
Expand Down

0 comments on commit 2a44f18

Please sign in to comment.