This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unit Tests | |
Snippet: | |
ERROR (0.01649s) (11:00:09.365) 0002 can create a snippet with audio from text | |
Couldn't find Snippet with id=1564 | |
School::shard_name | |
TODO: fix this test because previously we picked the LAST shard | |
FAIL (0.01305s) (11:00:08.666) 0001 uses a random shard if this customer doesn't have any other schools | |
Expected: "enrollments_shard_two" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails_env = ENV['RAILS_ENV'] || 'production' | |
preload_app true | |
# number of workers - makes sure this matches memory config | |
worker_processes Integer(ENV['UNICORN_WORKERS'] || 2) | |
# restart workers if request takes too long | |
timeout Integer(ENV['UNICORN_TIMEOUT'] || 25) | |
# Only allow reasonable backlog of requests per worker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
pivotal: { | |
TOKEN: 'TOKEN' | |
PID: 'PID', | |
}, | |
sprintly: { | |
USER: "USER_EMAIL", | |
ID: 'PRODUCT_ID', | |
KEY: 'API_KEY' | |
}, |
OlderNewer