Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 1 | #include "sol_context.hpp" |
| 2 | |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 3 | #include "main.hpp" |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 4 | #include "message_handler.hpp" |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 5 | #include "sd_event_loop.hpp" |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 6 | #include "sessions_manager.hpp" |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 7 | #include "sol_manager.hpp" |
| 8 | |
George Liu | 7b7f25f | 2022-07-04 17:07:32 +0800 | [diff] [blame] | 9 | #include <errno.h> |
| 10 | |
| 11 | #include <phosphor-logging/lg2.hpp> |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 12 | |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 13 | namespace sol |
| 14 | { |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 15 | using namespace phosphor::logging; |
| 16 | |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 17 | Context::Context(std::shared_ptr<boost::asio::io_context> io, |
| 18 | uint8_t maxRetryCount, uint8_t sendThreshold, uint8_t instance, |
| 19 | session::SessionID sessionID) : |
| 20 | accumulateTimer(*io), |
| 21 | retryTimer(*io), maxRetryCount(maxRetryCount), retryCounter(maxRetryCount), |
| 22 | sendThreshold(sendThreshold), payloadInstance(instance), |
| 23 | sessionID(sessionID) |
| 24 | { |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 25 | session = session::Manager::get().getSession(sessionID); |
Vernon Mauery | a6ad5e1 | 2020-02-21 14:54:24 -0800 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | std::shared_ptr<Context> |
| 29 | Context::makeContext(std::shared_ptr<boost::asio::io_context> io, |
| 30 | uint8_t maxRetryCount, uint8_t sendThreshold, |
| 31 | uint8_t instance, session::SessionID sessionID) |
| 32 | { |
| 33 | auto ctx = std::make_shared<Context>(io, maxRetryCount, sendThreshold, |
| 34 | instance, sessionID); |
| 35 | ctx->enableAccumulateTimer(true); |
| 36 | return ctx; |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | void Context::enableAccumulateTimer(bool enable) |
| 40 | { |
| 41 | // fetch the timeout from the SOL manager |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 42 | std::chrono::microseconds interval = sol::Manager::get().accumulateInterval; |
Tang Yiwei | 1553514 | 2022-09-21 17:28:15 +0800 | [diff] [blame] | 43 | |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 44 | if (enable) |
| 45 | { |
Tang Yiwei | 1553514 | 2022-09-21 17:28:15 +0800 | [diff] [blame] | 46 | auto bufferSize = sol::Manager::get().dataBuffer.size(); |
| 47 | if (bufferSize > sendThreshold) |
| 48 | { |
Konstantin Aladyshev | 426fcab | 2024-03-13 17:56:50 +0300 | [diff] [blame^] | 49 | try |
| 50 | { |
| 51 | int rc = sendOutboundPayload(); |
| 52 | if (rc == 0) |
Jian Zhang | 5499bf8 | 2024-01-24 15:33:11 +0800 | [diff] [blame] | 53 | { |
Konstantin Aladyshev | 426fcab | 2024-03-13 17:56:50 +0300 | [diff] [blame^] | 54 | return; |
Jian Zhang | 5499bf8 | 2024-01-24 15:33:11 +0800 | [diff] [blame] | 55 | } |
Konstantin Aladyshev | 426fcab | 2024-03-13 17:56:50 +0300 | [diff] [blame^] | 56 | } |
| 57 | catch (const std::exception& e) |
| 58 | { |
| 59 | lg2::error( |
| 60 | "Failed to call the sendOutboundPayload method: {ERROR}", |
| 61 | "ERROR", e); |
| 62 | return; |
| 63 | } |
Tang Yiwei | 1553514 | 2022-09-21 17:28:15 +0800 | [diff] [blame] | 64 | } |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 65 | accumulateTimer.expires_after(interval); |
Konstantin Aladyshev | 426fcab | 2024-03-13 17:56:50 +0300 | [diff] [blame^] | 66 | std::weak_ptr<Context> weakRef = weak_from_this(); |
Vernon Mauery | a6ad5e1 | 2020-02-21 14:54:24 -0800 | [diff] [blame] | 67 | accumulateTimer.async_wait( |
| 68 | [weakRef](const boost::system::error_code& ec) { |
Patrick Williams | 099fb09 | 2023-05-10 07:50:31 -0500 | [diff] [blame] | 69 | std::shared_ptr<Context> self = weakRef.lock(); |
| 70 | if (!ec && self) |
| 71 | { |
| 72 | self->charAccTimerHandler(); |
| 73 | } |
| 74 | }); |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 75 | } |
| 76 | else |
| 77 | { |
| 78 | accumulateTimer.cancel(); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | void Context::enableRetryTimer(bool enable) |
| 83 | { |
| 84 | if (enable) |
| 85 | { |
| 86 | // fetch the timeout from the SOL manager |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 87 | std::chrono::microseconds interval = sol::Manager::get().retryInterval; |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 88 | retryTimer.expires_after(interval); |
Vernon Mauery | a6ad5e1 | 2020-02-21 14:54:24 -0800 | [diff] [blame] | 89 | std::weak_ptr<Context> weakRef = weak_from_this(); |
| 90 | retryTimer.async_wait([weakRef](const boost::system::error_code& ec) { |
| 91 | std::shared_ptr<Context> self = weakRef.lock(); |
| 92 | if (!ec && self) |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 93 | { |
Vernon Mauery | a6ad5e1 | 2020-02-21 14:54:24 -0800 | [diff] [blame] | 94 | self->retryTimerHandler(); |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 95 | } |
| 96 | }); |
| 97 | } |
| 98 | else |
| 99 | { |
| 100 | retryTimer.cancel(); |
| 101 | } |
| 102 | } |
| 103 | |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 104 | void Context::processInboundPayload(uint8_t seqNum, uint8_t ackSeqNum, |
Tingting Chen | ec43741 | 2022-09-27 18:35:22 +0800 | [diff] [blame] | 105 | uint8_t count, bool status, bool isBreak, |
Vernon Mauery | 70fd29c | 2017-11-30 13:11:43 -0800 | [diff] [blame] | 106 | const std::vector<uint8_t>& input) |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 107 | { |
| 108 | uint8_t respAckSeqNum = 0; |
| 109 | uint8_t acceptedCount = 0; |
| 110 | auto ack = false; |
| 111 | |
| 112 | /* |
| 113 | * Check if the Inbound sequence number is same as the expected one. |
| 114 | * If the Packet Sequence Number is 0, it is an ACK-Only packet. Multiple |
| 115 | * outstanding sequence numbers are not supported in this version of the SOL |
| 116 | * specification. Retried packets use the same sequence number as the first |
| 117 | * packet. |
| 118 | */ |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 119 | if (seqNum && (seqNum != seqNums.get(true))) |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 120 | { |
George Liu | 7b7f25f | 2022-07-04 17:07:32 +0800 | [diff] [blame] | 121 | lg2::info("Out of sequence SOL packet - packet is dropped"); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 122 | return; |
| 123 | } |
| 124 | |
| 125 | /* |
| 126 | * Check if the expected ACK/NACK sequence number is same as the |
| 127 | * ACK/NACK sequence number in the packet. If packet ACK/NACK sequence |
| 128 | * number is 0, then it is an informational packet. No request packet being |
| 129 | * ACK'd or NACK'd. |
| 130 | */ |
| 131 | if (ackSeqNum && (ackSeqNum != seqNums.get(false))) |
| 132 | { |
George Liu | 7b7f25f | 2022-07-04 17:07:32 +0800 | [diff] [blame] | 133 | lg2::info("Out of sequence ack number - SOL packet is dropped"); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 134 | return; |
| 135 | } |
| 136 | |
| 137 | /* |
| 138 | * Retry the SOL payload packet in the following conditions: |
| 139 | * |
| 140 | * a) NACK in Operation/Status |
| 141 | * b) Accepted Character Count does not match with the sent out SOL payload |
| 142 | * c) Non-zero Packet ACK/NACK Sequence Number |
| 143 | */ |
| 144 | if (status || ((count != expectedCharCount) && ackSeqNum)) |
| 145 | { |
| 146 | resendPayload(noClear); |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 147 | enableRetryTimer(false); |
| 148 | enableRetryTimer(true); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 149 | return; |
| 150 | } |
| 151 | /* |
| 152 | * Clear the sent data once the acknowledgment sequence number matches |
| 153 | * and the expected character count matches. |
| 154 | */ |
| 155 | else if ((count == expectedCharCount) && ackSeqNum) |
| 156 | { |
| 157 | // Clear the Host Console Buffer |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 158 | sol::Manager::get().dataBuffer.erase(count); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 159 | |
| 160 | // Once it is acknowledged stop the retry interval timer |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 161 | enableRetryTimer(false); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 162 | |
| 163 | retryCounter = maxRetryCount; |
| 164 | expectedCharCount = 0; |
| 165 | payloadCache.clear(); |
| 166 | } |
| 167 | |
Tingting Chen | ec43741 | 2022-09-27 18:35:22 +0800 | [diff] [blame] | 168 | if (isBreak && seqNum) |
| 169 | { |
| 170 | lg2::info("Writing break to console socket descriptor"); |
| 171 | constexpr uint8_t sysrqValue = 72; // use this to notify sol server |
| 172 | const std::vector<uint8_t> test{sysrqValue}; |
| 173 | auto ret = sol::Manager::get().writeConsoleSocket(test, isBreak); |
| 174 | if (ret) |
| 175 | { |
| 176 | lg2::error("Writing to console socket descriptor failed: {ERROR}", |
| 177 | "ERROR", strerror(errno)); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | isBreak = false; |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 182 | // Write character data to the Host Console |
| 183 | if (!input.empty() && seqNum) |
| 184 | { |
Tingting Chen | ec43741 | 2022-09-27 18:35:22 +0800 | [diff] [blame] | 185 | auto rc = sol::Manager::get().writeConsoleSocket(input, isBreak); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 186 | if (rc) |
| 187 | { |
George Liu | 7b7f25f | 2022-07-04 17:07:32 +0800 | [diff] [blame] | 188 | lg2::error("Writing to console socket descriptor failed: {ERROR}", |
| 189 | "ERROR", strerror(errno)); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 190 | ack = true; |
| 191 | } |
| 192 | else |
| 193 | { |
| 194 | respAckSeqNum = seqNum; |
| 195 | ack = false; |
| 196 | acceptedCount = input.size(); |
| 197 | } |
| 198 | } |
Tom Joseph | 694fc0c | 2017-08-21 11:47:25 +0530 | [diff] [blame] | 199 | /* |
| 200 | * SOL payload with no character data and valid sequence number can be used |
| 201 | * as method to keep the SOL session active. |
| 202 | */ |
| 203 | else if (input.empty() && seqNum) |
| 204 | { |
| 205 | respAckSeqNum = seqNum; |
| 206 | } |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 207 | |
| 208 | if (seqNum != 0) |
| 209 | { |
| 210 | seqNums.incInboundSeqNum(); |
| 211 | prepareResponse(respAckSeqNum, acceptedCount, ack); |
| 212 | } |
| 213 | else |
| 214 | { |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 215 | enableAccumulateTimer(true); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 216 | } |
| 217 | } |
| 218 | |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 219 | void Context::prepareResponse(uint8_t ackSeqNum, uint8_t count, bool ack) |
| 220 | { |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 221 | auto bufferSize = sol::Manager::get().dataBuffer.size(); |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 222 | |
| 223 | /* Sent a ACK only response */ |
| 224 | if (payloadCache.size() != 0 || (bufferSize < sendThreshold)) |
| 225 | { |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 226 | enableAccumulateTimer(true); |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 227 | |
Vernon Mauery | 70fd29c | 2017-11-30 13:11:43 -0800 | [diff] [blame] | 228 | std::vector<uint8_t> outPayload(sizeof(Payload)); |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 229 | auto response = reinterpret_cast<Payload*>(outPayload.data()); |
| 230 | response->packetSeqNum = 0; |
| 231 | response->packetAckSeqNum = ackSeqNum; |
| 232 | response->acceptedCharCount = count; |
| 233 | response->outOperation.ack = ack; |
| 234 | sendPayload(outPayload); |
| 235 | return; |
| 236 | } |
| 237 | |
| 238 | auto readSize = std::min(bufferSize, MAX_PAYLOAD_SIZE); |
| 239 | payloadCache.resize(sizeof(Payload) + readSize); |
| 240 | auto response = reinterpret_cast<Payload*>(payloadCache.data()); |
| 241 | response->packetAckSeqNum = ackSeqNum; |
| 242 | response->acceptedCharCount = count; |
| 243 | response->outOperation.ack = ack; |
| 244 | response->packetSeqNum = seqNums.incOutboundSeqNum(); |
| 245 | |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 246 | auto handle = sol::Manager::get().dataBuffer.read(); |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 247 | std::copy_n(handle, readSize, payloadCache.data() + sizeof(Payload)); |
| 248 | expectedCharCount = readSize; |
| 249 | |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 250 | enableRetryTimer(true); |
| 251 | enableAccumulateTimer(false); |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 252 | |
| 253 | sendPayload(payloadCache); |
| 254 | } |
| 255 | |
Tom Joseph | 7306314 | 2017-03-14 18:20:20 +0530 | [diff] [blame] | 256 | int Context::sendOutboundPayload() |
| 257 | { |
| 258 | if (payloadCache.size() != 0) |
| 259 | { |
Tom Joseph | 7306314 | 2017-03-14 18:20:20 +0530 | [diff] [blame] | 260 | return -1; |
| 261 | } |
| 262 | |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 263 | auto bufferSize = sol::Manager::get().dataBuffer.size(); |
Tom Joseph | 7306314 | 2017-03-14 18:20:20 +0530 | [diff] [blame] | 264 | auto readSize = std::min(bufferSize, MAX_PAYLOAD_SIZE); |
| 265 | |
| 266 | payloadCache.resize(sizeof(Payload) + readSize); |
| 267 | auto response = reinterpret_cast<Payload*>(payloadCache.data()); |
| 268 | response->packetAckSeqNum = 0; |
| 269 | response->acceptedCharCount = 0; |
| 270 | response->outOperation.ack = false; |
| 271 | response->packetSeqNum = seqNums.incOutboundSeqNum(); |
| 272 | |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 273 | auto handle = sol::Manager::get().dataBuffer.read(); |
Tom Joseph | 7306314 | 2017-03-14 18:20:20 +0530 | [diff] [blame] | 274 | std::copy_n(handle, readSize, payloadCache.data() + sizeof(Payload)); |
| 275 | expectedCharCount = readSize; |
| 276 | |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 277 | enableRetryTimer(true); |
| 278 | enableAccumulateTimer(false); |
Tom Joseph | 7306314 | 2017-03-14 18:20:20 +0530 | [diff] [blame] | 279 | |
| 280 | sendPayload(payloadCache); |
| 281 | |
| 282 | return 0; |
| 283 | } |
| 284 | |
Tom Joseph | 75e15db | 2017-03-14 18:16:22 +0530 | [diff] [blame] | 285 | void Context::resendPayload(bool clear) |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 286 | { |
Tom Joseph | 2fd466f | 2017-03-30 08:16:47 +0530 | [diff] [blame] | 287 | sendPayload(payloadCache); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 288 | |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 289 | if (clear) |
Tom Joseph | 2fd466f | 2017-03-30 08:16:47 +0530 | [diff] [blame] | 290 | { |
| 291 | payloadCache.clear(); |
| 292 | expectedCharCount = 0; |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 293 | sol::Manager::get().dataBuffer.erase(expectedCharCount); |
Tom Joseph | 2fd466f | 2017-03-30 08:16:47 +0530 | [diff] [blame] | 294 | } |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 295 | } |
| 296 | |
Vernon Mauery | 70fd29c | 2017-11-30 13:11:43 -0800 | [diff] [blame] | 297 | void Context::sendPayload(const std::vector<uint8_t>& out) const |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 298 | { |
Tom Joseph | 22596f2 | 2017-03-31 10:52:27 +0530 | [diff] [blame] | 299 | message::Handler msgHandler(session->channelPtr, sessionID); |
| 300 | |
| 301 | msgHandler.sendSOLPayload(out); |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 302 | } |
| 303 | |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 304 | void Context::charAccTimerHandler() |
| 305 | { |
Vernon Mauery | 2085ae0 | 2021-06-10 11:51:00 -0700 | [diff] [blame] | 306 | auto bufferSize = sol::Manager::get().dataBuffer.size(); |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 307 | |
| 308 | try |
| 309 | { |
| 310 | if (bufferSize > 0) |
| 311 | { |
| 312 | int rc = sendOutboundPayload(); |
| 313 | if (rc == 0) |
| 314 | { |
| 315 | return; |
| 316 | } |
| 317 | } |
| 318 | enableAccumulateTimer(true); |
| 319 | } |
Patrick Williams | 12d199b | 2021-10-06 12:36:48 -0500 | [diff] [blame] | 320 | catch (const std::exception& e) |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 321 | { |
George Liu | 7b7f25f | 2022-07-04 17:07:32 +0800 | [diff] [blame] | 322 | lg2::error("Failed to call the sendOutboundPayload method: {ERROR}", |
| 323 | "ERROR", e); |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 324 | } |
| 325 | } |
| 326 | |
| 327 | void Context::retryTimerHandler() |
| 328 | { |
| 329 | try |
| 330 | { |
| 331 | if (retryCounter) |
| 332 | { |
| 333 | --retryCounter; |
| 334 | enableRetryTimer(true); |
| 335 | resendPayload(sol::Context::noClear); |
| 336 | } |
| 337 | else |
| 338 | { |
| 339 | retryCounter = maxRetryCount; |
| 340 | resendPayload(sol::Context::clear); |
| 341 | enableRetryTimer(false); |
| 342 | enableAccumulateTimer(true); |
| 343 | } |
| 344 | } |
Patrick Williams | 12d199b | 2021-10-06 12:36:48 -0500 | [diff] [blame] | 345 | catch (const std::exception& e) |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 346 | { |
George Liu | 7b7f25f | 2022-07-04 17:07:32 +0800 | [diff] [blame] | 347 | lg2::error("Failed to retry timer: {ERROR}", "ERROR", e); |
Vernon Mauery | 6f353e8 | 2018-11-09 08:43:24 -0800 | [diff] [blame] | 348 | } |
| 349 | } |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 350 | } // namespace sol |