Mount all downloads script. Tune and test unicorn uploads. Refs #2261
This commit is contained in:
parent
ac61b5efa3
commit
301cdb2ca2
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
for f in `ls /srv/rosa_build/shared/downloads`
|
||||
do
|
||||
if [ -d "/home/share/platforms/$f" ]
|
||||
then
|
||||
mount --bind "/home/share/platforms/$f" "/srv/rosa_build/shared/downloads/$f"
|
||||
fi
|
||||
done
|
|
@ -10,7 +10,7 @@ working_directory File.expand_path(File.join(File.dirname(__FILE__), "..")) # a
|
|||
listen 8080, :tcp_nopush => true
|
||||
#
|
||||
#nuke workers after 30 seconds instead of 60 seconds (the default)
|
||||
timeout 120
|
||||
timeout 1200
|
||||
#
|
||||
#feel free to point this anywhere accessible on the filesystem
|
||||
pid File.expand_path(File.join(File.dirname(__FILE__), "..")) + '/tmp/pids/unicorn.pid'
|
||||
|
|
Loading…
Reference in New Issue