mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-18 22:50:26 +01:00
enable flushing of dump1090 on shutdown
This commit is contained in:
parent
3d73a0c41f
commit
9226cd88af
|
|
@ -19,7 +19,11 @@ class Dump1090Module(ExecModule):
|
|||
super().__init__(
|
||||
Format.COMPLEX_SHORT,
|
||||
Format.CHAR,
|
||||
["dump1090", "--ifile", "-", "--iformat", "SC16", "--quiet", "--net-ro-port", str(self.port)]
|
||||
["dump1090", "--ifile", "-", "--iformat", "SC16", "--quiet", "--net-ro-port", str(self.port)],
|
||||
# send some data on decoder shutdown since the dump1090 internal reader locks up otherwise
|
||||
# dump1090 reads chunks of 100ms, which equals to 240k samples at 2.4MS/s
|
||||
# some extra should not hurt
|
||||
flushSize=300000
|
||||
)
|
||||
super().setWriter(LogWriter(__name__))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue