Improving documentation.

This commit is contained in:
tomaszdrozdz
2020-10-19 10:12:20 +02:00
parent 0072fd1573
commit f41435fae3
2 changed files with 3 additions and 3 deletions

View File

@@ -88,5 +88,5 @@ When `stream_large_files` is `True`, Sanic will use `file_stream()` instead of `
app = Sanic(__name__)
chunk_size = 1024 * 1024 * 8 # Set chunk size to 8KB
chunk_size = 1024 * 1024 * 8 # Set chunk size to 8MiB
app.static('/large_video.mp4', '/home/ubuntu/large_video.mp4', stream_large_files=chunk_size)