Log max concurrency when starting/finishing experiments
This commit is contained in:
parent
7e62dc64dc
commit
f1c153f39f
|
@ -70,6 +70,8 @@ public class FinishPushNotificationExperimentCommand<T> extends AbstractCommandW
|
|||
|
||||
final int maxConcurrency = namespace.getInt(MAX_CONCURRENCY_ARGUMENT);
|
||||
|
||||
log.info("Finishing \"{}\" with max concurrency: {}", experiment.getExperimentName(), maxConcurrency);
|
||||
|
||||
final AccountsManager accountsManager = commandDependencies.accountsManager();
|
||||
final PushNotificationExperimentSamples pushNotificationExperimentSamples = commandDependencies.pushNotificationExperimentSamples();
|
||||
|
||||
|
|
|
@ -83,6 +83,8 @@ public class StartPushNotificationExperimentCommand<T> extends AbstractSinglePas
|
|||
final PushNotificationExperimentSamples pushNotificationExperimentSamples =
|
||||
getCommandDependencies().pushNotificationExperimentSamples();
|
||||
|
||||
log.info("Starting \"{}\" with max concurrency: {}", experiment.getExperimentName(), maxConcurrency);
|
||||
|
||||
accounts
|
||||
.flatMap(account -> Flux.fromIterable(account.getDevices()).map(device -> Tuples.of(account, device)))
|
||||
.doOnNext(ignored -> DEVICE_INSPECTED_COUNTER.increment())
|
||||
|
|
Loading…
Reference in New Issue