mirror of https://github.com/sipwise/rtpengine.git
when under load it's possible that a metafile gets updated by rtpengine while it's still being read by the recording daemon. this can result in a WARNING being logged and the loop breaking. That section ends up unprocessed and any changes in it don't get applied. This change only updates the offset after a successful section read. Therefore, if a section is incomplete and the loop breaks, the next inotify event will retry that incomplete section and it should succeed Closes #2008 Change-Id: Ie48b66e7578597f5b75f957e3b5cc793628282ddrfuchs/2010
parent
dcae1a2277
commit
0bb5f4e972
Loading…
Reference in new issue