From a850069f1fd286119862bbf19a92d1fb1ceb11bd Mon Sep 17 00:00:00 2001 From: Jakub Frejlach Date: Mon, 13 Jan 2025 17:12:26 +0100 Subject: [PATCH] Fix tutorial --- TUTORIAL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index b2af622..352f141 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -52,7 +52,7 @@ import osidb_bindings ``` ### Create a session -The Session is the core component of the bindings that you'll interact with. You can create a session using osidb_bindings.new_session. Once created, the session serves as the gateway to access various endpoints. +The Session is the core component of the bindings that you'll interact with. You can create a session using `osidb_bindings.new_session`. Once created, the session serves as the gateway to access various endpoints. When initializing a session, you must specify the osidb_server_uri of the OSIDB instance you want to connect to. In this tutorial, we'll use a local OSIDB instance hosted on port 8000. @@ -188,7 +188,7 @@ Following operations are demonstrated on `flaws` resource, to work with differen By default, the system allows up to 10 concurrent connections. This limit can be adjusted by setting the `OSIDB_BINDINGS_MAX_CONCURRENCY` environment variable. It is highly recommended to keep the limit between 1 and 50 concurrent connections. Exceeding this limit may lead to service overload, which could be interpreted as a Denial-of-Service attack. - ```python + ```bash export OSIDB_BINDINGS_MAX_CONCURRENCY=30 ```