Closed dominicletz closed 2 years ago
My local version is too old, give me a bit here to rebase and resolve the conflict...
It's fine. I've done 👍
Just verify manually, if master
is fine, then close this PR.
Looks good!
Just published 8.6.1: https://hex.pm/packages/fs/8.6.1
I've got an application that is deployed on many different machines and architectures. I would like to ensure that when the file monitoring tool is not working correctly (e.g. it crashes) then that is not bringing down the whole app. This change just tries to restart the file monitoring backend with an exponential back-off in those cases.
But I'm not sure if this is breaking other use cases? Also, I was thinking to add a fallback polling fs backend in this case (e.g. after 5 attempts to restart the backend), but that seems like it should require configuration?
Anyway, let me know if you have any thoughts on this.