1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2026-03-02 03:40:15 +00:00

support auto timeouts

This commit is contained in:
Mathias Buus
2020-01-24 11:19:17 +01:00
parent 95386bf49c
commit 4163951dc3
2 changed files with 21 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ tape.skip('read timeout does not force unmount', function (t) {
} else if (path === '/timeout') {
console.log('read is gonna time out')
// Just let this one timeout
setTimeout(cb, 20 * 1000, -2)
return
}
return cb(-2)