Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 4080e65e85bff66588ed1638ebf5f41a0eb2a947 1 parent af73eeb
@miyagawa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Starman/Server.pm
View
2  lib/Starman/Server.pm
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.