Skip to content

Commit

Permalink
Revert "Add gRPC user agent (#834)"
Browse files Browse the repository at this point in the history
This reverts commit 5ab3a74.
  • Loading branch information
Alberto Iannaccone committed Feb 15, 2022
1 parent a0bd8a8 commit 1650aa4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arduino-ide-extension/src/node/grpc-client-provider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { inject, injectable, postConstruct } from 'inversify';
import { app } from 'electron';
import { ILogger } from '@theia/core/lib/common/logger';
import { MaybePromise } from '@theia/core/lib/common/types';
import { ConfigServiceImpl } from './config-service-impl';
Expand Down Expand Up @@ -74,7 +73,6 @@ export abstract class GrpcClientProvider<C> {
return {
'grpc.max_send_message_length': 512 * 1024 * 1024,
'grpc.max_receive_message_length': 512 * 1024 * 1024,
'grpc.primary_user_agent': `arduino-ide/${app.getVersion()}`
};
}
}

0 comments on commit 1650aa4

Please # to comment.