From 7fbb560c2b6947bb1ca0154beacf1969dc04df71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Wed, 29 Jun 2016 05:23:47 +0200 Subject: [PATCH] Updated Performance Optimizations (markdown) --- Performance-Optimizations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Performance-Optimizations.md b/Performance-Optimizations.md index 3509ac0..dce992a 100644 --- a/Performance-Optimizations.md +++ b/Performance-Optimizations.md @@ -189,7 +189,7 @@ The maximum of concurrent threads is limited. This limit is 4 by default. To inc updater = Updater(TOKEN, workers=32) ``` -If an asynchronous function is called from anywhere, including the Dispatcher, and the limit of concurrent threads is reached, the calling thread will block until one of the threads is done and a slot is free. **Note:** In version 5.0 and later, the calling thread will not block. +If an asynchronous function is called from anywhere, including the Dispatcher, and the limit of concurrent threads is reached, the calling thread will block until one of the threads is done and a slot is free. **Note:** In version 4.3 and later, the calling thread will not block. The following is here for historic reasons. This can lead to a so-called [deadlock](https://en.wikipedia.org/wiki/Deadlock), especially with nested function calls: