Skip to content

Commit

Permalink
Merge pull request #4 from paraenggu/fix/record-handling
Browse files Browse the repository at this point in the history
fix - prevent premature recording movements
  • Loading branch information
codez committed Apr 13, 2018
2 parents 8b1d278 + bb2f5fd commit 0188755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/raar-record-handler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ echo "Watching for new records in ${watchDir}"
echo "Recordings will be moved to ${destDir}"

# The minimum size a recording must have to trigger an archival
minFileSize="1048576" # 1 MiB
minFileSize="$(( 20 * 1048576 ))" # 20 MiB

inotifywait --monitor --event close_write "${watchDir}" | while read \
watchedFileName eventNames eventFileName
Expand Down

0 comments on commit 0188755

Please sign in to comment.