Shorten buffer time for calculation sessions

This commit is contained in:
Davte committed 2020-05-19 14:04:02 +02:00
1 parent cf7e0c740b
commit 8977e0fbc3
1 file changed
+1 -1
+1 -1
View File
@@ -360,7 +360,7 @@ def evaluate_expressions(bot: Bot,
async def calculate_session(bot: Bot, async def calculate_session(bot: Bot,
record_id: int, record_id: int,
language: str, language: str,
buffer_seconds: Union[int, float] = 1): buffer_seconds: Union[int, float] = .5):
# Wait until input ends # Wait until input ends
queue = bot.shared_data['calc'][record_id] queue = bot.shared_data['calc'][record_id]
queue_len = None queue_len = None