Eric Wong <[email protected]> wrote:
> 
> Does the following patch fix things for you?
> 
> diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb
> index 6b35426..0f517e9 100644
> --- a/lib/unicorn/util.rb
> +++ b/lib/unicorn/util.rb
> @@ -54,7 +54,6 @@ module Unicorn
>          end
>          File.unlink(fp.path)
>          fp.binmode
> -        fp.sync = true
>          fp
>        end
> ---

Actually, that may not work since I need to call IO#stat.size,
in TeeInput, and if I explicitly call IO#flush then bad things
still end up happening :/

-- 
Eric Wong
_______________________________________________
mongrel-unicorn mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn

Reply via email to