summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/server.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/server.cc b/src/server/server.cc
index 981104d..ab1db9e 100644
--- a/src/server/server.cc
+++ b/src/server/server.cc
@@ -117,6 +117,8 @@ std::shared_ptr<p18::response_type::BaseResponse> Server::executeCommand(p18::Co
if (voltronic::timestamp() - cr.time <= cacheTimeout_) {
return cr.response;
}
+
+ cache_.erase(it);
}
try {