diff --git a/docs/source/guides/configurations.rst b/docs/source/guides/configurations.rst index c87b633d068..d8514db46bc 100644 --- a/docs/source/guides/configurations.rst +++ b/docs/source/guides/configurations.rst @@ -226,16 +226,17 @@ BentoML parses all the available fields directly to `Uvicorn `_. Here is an example: + .. code-block:: python @bentoml.service(timeouts={ "keep_alive": 60, - "graceful_shutdown": 120, + "graceful_shutdown": 120 }) class MyService: # Service implementation