diff options
Diffstat (limited to 'lib/yahns/tmpio.rb')
-rw-r--r-- | lib/yahns/tmpio.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/tmpio.rb b/lib/yahns/tmpio.rb index bcf6b8a..19da658 100644 --- a/lib/yahns/tmpio.rb +++ b/lib/yahns/tmpio.rb @@ -20,7 +20,7 @@ class Yahns::TmpIO < File # :nodoc: rescue Errno::EMFILE, Errno::ENFILE raise if retried retried = true - Thread.current[:yahns_fdmap].desperate_expire_for(nil, 5) + Thread.current[:yahns_fdmap].desperate_expire(5) sleep(1) retry end |