Skip to content

Commit f34f3fb

Browse files
committed
Add tip for concurrency issues
1 parent a834f86 commit f34f3fb

File tree

1 file changed

+3
-0
lines changed
  • articles/ai-services/speech-service/includes/how-to/speech-synthesis

1 file changed

+3
-0
lines changed

articles/ai-services/speech-service/includes/how-to/speech-synthesis/python.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ While using the [SpeechSynthesizer](/python/api/azure-cognitiveservices-speech/a
174174

175175
Here's an example that shows how to subscribe to events for speech synthesis. You can follow the instructions in the [quickstart](../../../get-started-text-to-speech.md?pivots=python), but replace the contents of that *speech-synthesis.py* file with the following Python code:
176176

177+
> [!TIP]
178+
> When using the sample code to subscribe to synthesizer events, running multiple processes can cause concurrency issues, affecting thread execution and performance. Consider your computer's current workload to avoid unnecessary debugging.
179+
177180
```python
178181
import os
179182
import azure.cognitiveservices.speech as speechsdk

0 commit comments

Comments
 (0)