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 succeedpull/2008/head
parent
29886ae555
commit
541fb2704d
Loading…
Reference in new issue