seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
24 stars 4 forks source link

#6: Capture stops writing to disk when free space is <100 MiB #20

Closed bgottula closed 5 years ago

bgottula commented 5 years ago

I tested this on nix a couple times with larger free space requirement (400 GiB) and confirmed that it stops writing to disk when it detects that the remaining free space is below the limit. I decided to have it only check every 100th frame since that seems plenty often. Not sure if there's much overhead to calling statvfs but seemed silly to call it dozens of times per second.