Feature/http async (#90)
* unittest working / uses shared_ptr for a bunch of things 🗿
* fix command line tools
* fix ws + add doc
* add more logging
This commit is contained in:
committed by
GitHub
parent
012193c74e
commit
78b3d7ff2d
@ -46,9 +46,11 @@ namespace ix
|
||||
std::condition_variable progressCondition;
|
||||
std::queue<Json::Value> queue;
|
||||
|
||||
SentryClient sentryClient(dsn);
|
||||
|
||||
auto sentrySender = [&condition, &progressCondition, &conditionVariableMutex,
|
||||
&queue, verbose, &errorSending, &sentCount,
|
||||
&stop, &dsn]
|
||||
&stop, &sentryClient]
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
@ -62,9 +64,7 @@ namespace ix
|
||||
queue.pop();
|
||||
}
|
||||
|
||||
SentryClient sc(dsn);
|
||||
|
||||
if (!sc.send(msg, verbose))
|
||||
if (!sentryClient.send(msg, verbose))
|
||||
{
|
||||
errorSending = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user