mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Remove file-local expire_running variable
This commit is contained in:
parent
ebefb21c53
commit
605973497f
2 changed files with 12 additions and 10 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
*/
|
||||
bool IsOpen() override { return connected; }
|
||||
|
||||
bool ExpireRunning() const { return expire_running.load(); }
|
||||
|
||||
private:
|
||||
OperationResult DoOpen(RecordValPtr options, OpenResultCallback* cb = nullptr) override;
|
||||
OperationResult DoClose(OperationResultCallback* cb = nullptr) override;
|
||||
|
@ -71,8 +73,10 @@ private:
|
|||
|
||||
std::string server_addr;
|
||||
std::string key_prefix;
|
||||
|
||||
std::atomic<bool> connected = false;
|
||||
int active_ops = 0;
|
||||
std::atomic<bool> expire_running = false;
|
||||
std::atomic<int> active_ops = 0;
|
||||
};
|
||||
|
||||
} // namespace zeek::storage::backend::redis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue