Skip to content

Commit

Permalink
trivial typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guanqun committed Mar 21, 2024
1 parent 5c46b62 commit 40aa24d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/boost/redis/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class basic_connection {
, timer_{ex}
{ }

/// Contructs from a context.
/// Constructs from a context.
explicit
basic_connection(
asio::io_context& ioc,
Expand All @@ -125,17 +125,17 @@ class basic_connection {
* timeout with value zero will disable health-checks. If the Redis
* server does not respond to a health-check within two times the value
* specified here, it will be considered unresponsive and the connection
* will be closed and a new connection will be stablished.
* will be closed and a new connection will be established.
* 5. Starts read and write operations with the Redis
* server. More specifically it will trigger the write of all
* requests i.e. calls to `async_exec` that happened prior to this
* call.
*
* When a connection is lost for any reason, a new one is
* stablished automatically. To disable reconnection call
* established automatically. To disable reconnection call
* `boost::redis::connection::cancel(operation::reconnection)`.
*
* @param cfg Configuration paramters.
* @param cfg Configuration parameters.
* @param l Logger object. The interface expected is specified in the class `boost::redis::logger`.
* @param token Completion token.
*
Expand Down
2 changes: 1 addition & 1 deletion include/boost/redis/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enum class error
not_a_number,

/// The maximum depth of a nested response was exceeded.
exceeeds_max_nested_depth,
exceeds_max_nested_depth,

/// Got non boolean value.
unexpected_bool_value,
Expand Down

0 comments on commit 40aa24d

Please sign in to comment.