Permalink
Browse files

File.binwrite (revert change)

  • Loading branch information...
sorah committed Oct 22, 2017
1 parent 585110b commit e34193a33af427b4a2c5d20cc8b86a3285e19b72
Showing with 3 additions and 3 deletions.
  1. +1 −1 isubata/webapp/ruby/app.rb
  2. +1 −1 isubata/webapp/ruby/puma.conf.rb
  3. +1 −1 nginx.conf
@@ -420,7 +420,7 @@ def user
avatar_name = digest + ext
path = File.join(icons_dir, avatar_name)
FileUtils.cp(file[:tempfile].path, path) unless File.exists?(path)
File.binwrite(path, data) unless File.exists?(path)
end
end
@@ -1,6 +1,6 @@
workers 2
if Socket.gethostname == 'app0213'
threads 32,64
threads 64,64
else
threads 32,32
end
View
@@ -69,7 +69,7 @@ http {
keepalive 128;
}
upstream fetch {
server isu2:8080 fail_timeout=0;
#server isu2:8080 fail_timeout=0;
server isu3:8080 fail_timeout=0;
#server isu2:9000 fail_timeout=0;
#server isu3:9000 fail_timeout=0;

0 comments on commit e34193a

Please sign in to comment.