We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 877c1a1 commit 5ab3a74Copy full SHA for 5ab3a74
arduino-ide-extension/src/node/grpc-client-provider.ts
@@ -1,4 +1,5 @@
1
import { inject, injectable, postConstruct } from 'inversify';
2
+import { app } from 'electron';
3
import { ILogger } from '@theia/core/lib/common/logger';
4
import { MaybePromise } from '@theia/core/lib/common/types';
5
import { ConfigServiceImpl } from './config-service-impl';
@@ -73,6 +74,7 @@ export abstract class GrpcClientProvider<C> {
73
74
return {
75
'grpc.max_send_message_length': 512 * 1024 * 1024,
76
'grpc.max_receive_message_length': 512 * 1024 * 1024,
77
+ 'grpc.primary_user_agent': `arduino-ide/${app.getVersion()}`
78
};
79
}
80
0 commit comments