File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/azure-monitor/app Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,12 +169,12 @@ namespace ConsoleApp
169
169
// before exit, flush the remaining data
170
170
telemetryClient .Flush ();
171
171
172
- // As noted at the beginning of this article, Console apps should use the WorkerService package .
173
- // WorkerService uses ServerTelemetryChannel and does not have synchronous flushing .
172
+ // Console apps should use the WorkerService package, which uses ServerTelemetryChannel and does not have synchronous flushing .
173
+ // For this reason we add a short 5s delay in this sample .
174
174
175
175
Task .Delay (5000 ).Wait ();
176
176
177
- // Flush() is synchronous when using InMemoryChannel, in which case the short delay is not required.
177
+ // If you are using InMemoryChannel, Flush() is synchronous and the short delay is not required.
178
178
179
179
}
180
180
You can’t perform that action at this time.
0 commit comments