mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-01-30 12:22:43 -08:00
inheritence mess cleanup
This commit is contained in:
parent
4a15671e84
commit
3f19712178
8 changed files with 73 additions and 78 deletions
|
|
@ -1209,7 +1209,7 @@ void CV1::_membersWatcher_Postgres()
|
|||
std::string stream = "member_" + _myAddressStr;
|
||||
|
||||
fprintf(stderr, "Listening to member stream: %s\n", stream.c_str());
|
||||
MemberNotificationReceiver m(this, *c->c, stream);
|
||||
MemberNotificationReceiver<CV1> m(this, *c->c, stream);
|
||||
|
||||
while (_run == 1) {
|
||||
c->c->await_notification(5, 0);
|
||||
|
|
@ -1316,7 +1316,7 @@ void CV1::_networksWatcher_Postgres()
|
|||
|
||||
auto c = _pool->borrow();
|
||||
|
||||
NetworkNotificationReceiver n(this, *c->c, stream);
|
||||
NetworkNotificationReceiver<CV1> n(this, *c->c, stream);
|
||||
|
||||
while (_run == 1) {
|
||||
auto provider = opentelemetry::trace::Provider::GetTracerProvider();
|
||||
|
|
@ -2022,7 +2022,7 @@ void CV1::onlineNotification_Redis()
|
|||
|
||||
fprintf(stderr, "onlineNotification ran in %llu ms\n", total);
|
||||
span->End();
|
||||
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::seconds(5));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue