Skip to content

Commit

Permalink
Use 5 minutes recording chunk size as default
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jun 21, 2021
1 parent f581959 commit d2ac94c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -6,6 +6,8 @@ Saraswati changelog
in progress
===========

- Use 5 minutes recording chunk size as default


2021-06-20 0.2.0
================
Expand Down
2 changes: 1 addition & 1 deletion saraswati/cli.py
Expand Up @@ -148,7 +148,7 @@ def cli(ctx):
"--chunk-duration",
type=click.INT,
help="Duration of each chunk file (seconds)",
default=60,
default=5 * 60,
)
@click.option(
"--chunk-max-files",
Expand Down
2 changes: 1 addition & 1 deletion saraswati/model.py
Expand Up @@ -19,7 +19,7 @@ class SaraswatiSettings:
channels: List[Channel]

# Chunking options.
chunk_duration: Optional[int] = 10
chunk_duration: Optional[int] = 5 * 60
chunk_max_files: Optional[int] = 9999

# Where to store the recordings.
Expand Down

0 comments on commit d2ac94c

Please sign in to comment.