Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
tysion committed Feb 4, 2024
1 parent 9df6590 commit 97a741a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/src/storages/redis/impl/server_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ TEST(Redis, SelectTimeout) {
MockRedisServer server;
redis::CommandControl cc{};
auto ping_handler = server.RegisterPingHandler();
auto sleep_period = cc.timeout_single + std::chrono::milliseconds(30);
auto sleep_period = redis::kDefaultTimeoutSingle + std::chrono::milliseconds(30);
auto select_error_handler =
server.RegisterTimeoutHandler("SELECT", sleep_period);

Expand Down

0 comments on commit 97a741a

Please sign in to comment.