Updater: Property throttle Github API requests.
This commit is contained in:
+2
-2
@@ -29,10 +29,10 @@ using namespace pipedal;
|
||||
TEST_CASE( "updater test", "[updater]" ) {
|
||||
int nCalls = 0;
|
||||
cout << "------ upater test ----" << endl;
|
||||
{ Updater updater;
|
||||
{ Updater::ptr updater = Updater::Create();
|
||||
|
||||
|
||||
updater.SetUpdateListener(
|
||||
updater->SetUpdateListener(
|
||||
[&nCalls](const UpdateStatus&updateStatus) mutable
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user