lab6
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
// Dedicated connection: telemetry queries never consume the application's pool.
|
||||
class ObservabilityMonitor {
|
||||
public:
|
||||
ObservabilityMonitor(std::string db_url, bool queue);
|
||||
~ObservabilityMonitor();
|
||||
private:
|
||||
std::atomic<bool> stopping_{false};
|
||||
std::thread thread_;
|
||||
};
|
||||
Reference in New Issue
Block a user