Skip to content

Commit

Permalink
Log when you throttle, also in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Feb 13, 2024
1 parent 467f487 commit 835b0f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/connectivity/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ export async function addConnectivity(options) {
return;
}
case 'throttle': {
if (!options.docker) {
if (options.docker) {
if (options.connectivity && options.connectivity.profile) {
log.info(
'Setting connectivity profile %s',
options.connectivity.profile
);
}
} else {
// The log message is confusing if you run in Docker since
// there's nothing you can do about it
if (options.connectivity && options.connectivity.profile) {
Expand Down

0 comments on commit 835b0f1

Please sign in to comment.