Permalink
Browse files

Stop flock serialization on UNIX per http://kazeburo.hatenablog.com/e…

  • Loading branch information...
1 parent af73eeb commit 4080e65e85bff66588ed1638ebf5f41a0eb2a947 @miyagawa committed Apr 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Starman/Server.pm
View
@@ -68,7 +68,7 @@ sub run {
port => $port,
host => $host,
proto => $proto,
- serialize => 'flock',
+ serialize => ( $^O =~ m!(linux|darwin|bsd|cygwin)$! ) ? 'none' : 'flock',
log_level => DEBUG ? 4 : 2,
($options->{error_log} ? ( log_file => $options->{error_log} ) : () ),
min_servers => $options->{min_servers} || $workers,

0 comments on commit 4080e65

Please sign in to comment.