From 0932c1707f7cf73e086bcf6cce6415196bb7e8b1 Mon Sep 17 00:00:00 2001 From: Denis-Cosmin Nutiu Date: Fri, 24 Jan 2020 14:27:36 +0200 Subject: [PATCH] TelemetryPublisherDisk: Allow reading of telemetry file by other processes --- NucuCar.Domain/Telemetry/TelemetryPublisherDisk.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NucuCar.Domain/Telemetry/TelemetryPublisherDisk.cs b/NucuCar.Domain/Telemetry/TelemetryPublisherDisk.cs index ecbb520..cd04aea 100644 --- a/NucuCar.Domain/Telemetry/TelemetryPublisherDisk.cs +++ b/NucuCar.Domain/Telemetry/TelemetryPublisherDisk.cs @@ -32,7 +32,7 @@ namespace NucuCar.Domain.Telemetry var bufferSize = connectionStringParams.GetValueOrDefault("BufferSize", "4096"); _fileStream = new FileStream(fileName, FileMode.Append, FileAccess.Write, - FileShare.None, int.Parse(bufferSize), true); + FileShare.Read, int.Parse(bufferSize), true); Logger?.LogDebug("Initialized the TelemetryPublisherDisk!"); }