add :new_file_max_time parameter
commit3f342091cec9fcd5f99ba934444f17cd0c77de71
authorEric Wong <normalperson@yhbt.net>
Sun, 11 Dec 2011 08:47:39 +0000 (11 08:47 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 11 Dec 2011 08:55:29 +0000 (11 08:55 +0000)
treea6a40207d1938206b88c5fe3bd1757095ac67d54
parent9d5f3208dab86837106b56f105af8bbb121f438a
add :new_file_max_time parameter

This defaults to 1 hour (which matches the expiry time of a row
in the MogileFS internal tempfile table).
lib/mogilefs/mogilefs.rb
lib/mogilefs/new_file/common.rb