Skip to content

Commit 0f1d219

Browse files
committed
chore: Opt out of Bolt analytics
1 parent 47d972e commit 0f1d219

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Bolt/ProtocolFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class ProtocolFactory
3232
*/
3333
public function createProtocol(IConnection $connection, AuthenticateInterface $auth, string $userAgent): array
3434
{
35+
putenv('BOLT_ANALYTICS_OPTOUT=1');
36+
3537
$bolt = new Bolt($connection);
3638
$bolt->setProtocolVersions(5.4, 5.3, 5, 4.4);
3739

0 commit comments

Comments
 (0)