Skip to content

Commit

Permalink
Fix typos in docs (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuoer86 authored Nov 6, 2023
1 parent 2e22fa0 commit 552f42c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/1.getting-started/3.config.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Config consists of multiple top-level mappings. In the table below they are grou
| **Integrations** | [hasura](../9.config/6.hasura.md) | Hasura GraphQL Engine configuration |
| | [sentry](../9.config/13.sentry.md) | Sentry configuration |
| | [prometheus](../9.config/12.prometheus.md) | Prometheus configuration |
| **Miscellanous** | [advanced](../9.config/1.advanced.md) | Tunables that affect framework behavior |
| **Miscellaneous**| [advanced](../9.config/1.advanced.md) | Tunables that affect framework behavior |
| | [custom](../9.config/3.custom.md) | Mapping of user-defined values; neither typed nor validated |
| | [logging](../9.config/10.logging.md) | Configure logging verbosity |

Expand Down
6 changes: 3 additions & 3 deletions docs/6.deployment/4.prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ The following metrics are exposed under `dipdup` namespace:
|-|-|
| `dipdup_indexes_total` | Number of indexes in operation by status |
| `dipdup_index_level_sync_duration_seconds` | Duration of indexing a single level |
| `dipdup_index_level_realtime_duration_seconds` | Duration of last index syncronization |
| `dipdup_index_total_sync_duration_seconds` | Duration of the last index syncronization |
| `dipdup_index_total_realtime_duration_seconds` | Duration of the last index realtime syncronization |
| `dipdup_index_level_realtime_duration_seconds` | Duration of last index synchronization |
| `dipdup_index_total_sync_duration_seconds` | Duration of the last index synchronization |
| `dipdup_index_total_realtime_duration_seconds` | Duration of the last index realtime synchronization |
| `dipdup_index_levels_to_sync_total` | Number of levels to reach synced state |
| `dipdup_index_levels_to_realtime_total` | Number of levels to reach realtime state |
| `dipdup_index_handlers_matched_total` | Index total hits |
Expand Down
2 changes: 1 addition & 1 deletion docs/7.references/4.config-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ datasources:
kind: tezos.tzkt
url: ${TZKT_URL:-https://api.tzkt.io}
http:
retry_count: # retry infinetely
retry_count: # retry infinitely
retry_sleep:
retry_multiplier:
ratelimit_rate:
Expand Down
2 changes: 1 addition & 1 deletion docs/9.release-notes/4.history.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ TzKT `buffer_size` option remains available, but it's not required to handle cha
Now when DipDup catches unhandled exceptions, a crash dump will be saved to the temporary directory.

```
dipdup.exceptions.CallbackError: An error occured during callback execution
dipdup.exceptions.CallbackError: An error occurred during callback execution
________________________________________________________________________________

`demo_token.hooks.on_restart` callback execution failed:
Expand Down
4 changes: 2 additions & 2 deletions src/dipdup/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _help(self) -> str:

@dataclass(repr=False)
class CallbackError(Error):
"""An error occured during callback execution"""
"""An error occurred during callback execution"""

module: str
exc: Exception
Expand All @@ -261,7 +261,7 @@ def _help(self) -> str:

@dataclass(repr=False)
class CallbackTypeError(Error):
"""Agrument of invalid type was passed to a callback"""
"""Argument of invalid type was passed to a callback"""

kind: str
name: str
Expand Down

0 comments on commit 552f42c

Please sign in to comment.