We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87ca17 commit af58aa4Copy full SHA for af58aa4
samples/fbuffer/BufferThread.cpp
@@ -45,7 +45,9 @@ bool BufferThread::Main() {
45
46
// Set an expiration on the redis key, to purge if threads/filters are stopped or configuration is modified
47
// The expiration MUST be over the interval period
48
- this->_connector->REDISSetExpiry(redis_list, this->_interval + 60);
+ if (not this->_connector->REDISSetExpiry(redis_list, this->_interval + 60)) {
49
+ DARWIN_LOG_WARNING("BufferThread::Main:: Could not set an expiration on key '" + redis_list + "'");
50
+ }
51
}
52
53
return true;
0 commit comments