Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

219 use debug log level by default #220

Merged
merged 4 commits into from
Nov 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix error assignment.
mzimbres committed Nov 2, 2024
commit 937a02995ba4b1a98d7893335b3db60c50057765
6 changes: 3 additions & 3 deletions include/boost/redis/detail/connector.hpp
Original file line number Diff line number Diff line change
@@ -42,10 +42,10 @@ struct connect_op {
ctor_->endpoint_ = ep;

if (ec == asio::error::operation_aborted) {
ec == error::connect_timeout;
self.complete(redis::error::connect_timeout);
} else {
self.complete(ec);
}

self.complete(ec);
}
}
};
5 changes: 3 additions & 2 deletions include/boost/redis/detail/resolver.hpp
Original file line number Diff line number Diff line change
@@ -41,9 +41,10 @@ struct resolve_op {
resv_->results_ = res;

if (ec == asio::error::operation_aborted) {
ec == error::resolve_timeout;
self.complete(error::resolve_timeout);
} else {
self.complete(ec);
}
self.complete(ec);
}
}
};