Commit Graph

81 Commits

Author SHA1 Message Date
Konstantin Haase
2c361e4292 drop rack-timeout 2013-07-11 17:27:32 +02:00
Konstantin Haase
60af7546a2 add rack-timeout 2013-07-11 16:37:02 +02:00
Mathias Meyer
e6b61f92f4 Return 420 to a blacklisted client. 2013-07-09 11:37:37 +02:00
Mathias Meyer
a46488078f Add rack-attack, block one client who's hammering us. 2013-07-09 11:02:38 +02:00
Mathias Meyer
5971946d35 Use our own middlewares explicitly. 2013-05-18 11:11:43 +02:00
Piotr Sarnacki
935288e8e9 Don't load octopus if there is no need 2013-05-05 00:27:10 +02:00
Josh Kalderimis
cd7cce54b5 add some output when the db follower is setup 2013-05-03 10:31:53 +02:00
Josh Kalderimis
a949b58d98 merging all the things 2013-05-03 10:12:16 +02:00
Josh Kalderimis
407a08f644 only use the db follower if use_database_follower is set in the config 2013-05-03 09:42:07 +02:00
Piotr Sarnacki
f6d781c248 Enable octopus 2013-05-03 00:43:57 +02:00
Josh Kalderimis
10c8d4b95f hit my head against a wall 2013-05-03 00:43:22 +02:00
Josh Kalderimis
4ea1079d39 turn on octopus in staging 2013-05-03 00:43:22 +02:00
Josh Kalderimis
135008f1ea only add the shards info if in prod mode 2013-05-03 00:43:22 +02:00
Josh Kalderimis
e6f1e22ae8 octopus is on in production by default only 2013-05-03 00:43:22 +02:00
Josh Kalderimis
76e55c0125 i don't think this is the best solution 2013-05-03 00:43:20 +02:00
Josh Kalderimis
a0a92b23fa change the require order 2013-05-03 00:42:30 +02:00
Josh Kalderimis
48c8e8c2a5 merging stuff and fun 2013-05-02 20:06:19 +02:00
Piotr Sarnacki
cd9e089631 Enable octopus 2013-05-02 19:48:23 +02:00
Josh Kalderimis
6feed54684 hit my head against a wall 2013-05-02 19:16:52 +02:00
Josh Kalderimis
1a8b60cc98 turn on octopus in staging 2013-05-02 18:50:59 +02:00
Josh Kalderimis
69b8dff382 only add the shards info if in prod mode 2013-05-02 18:44:27 +02:00
Josh Kalderimis
d72f6ca02d octopus is on in production by default only 2013-05-02 18:23:41 +02:00
Josh Kalderimis
f4132786a6 i don't think this is the best solution 2013-05-02 18:05:32 +02:00
Josh Kalderimis
de6cb2c163 change the require order 2013-05-02 17:21:56 +02:00
Josh Kalderimis
ab2714621f i wonder what i am doing wrong with octopus 2013-05-02 17:08:31 +02:00
Josh Kalderimis
afddbb76ba require octopus 2013-05-02 16:45:34 +02:00
Josh Kalderimis
fa6ea0692d use a follower for one of the repos endpoint 2013-05-02 16:38:20 +02:00
Piotr Sarnacki
2efd1cb9a6 It's .deploy-sha, not .deploy_sha 😡 2013-03-16 16:42:52 +01:00
Piotr Sarnacki
7099331907 Read .deploy-sha file from the proper path 2013-03-16 15:34:59 +01:00
Konstantin Haase
2e6865d55f don't run metrics etc in heroku console 2013-02-14 19:12:26 +01:00
Piotr Sarnacki
0eadcfedbd Use redis for sidekiq from config also on staging 2013-02-06 14:20:03 +01:00
Sven Fuchs
598a586ed4 don't start metrics logger etc unless in production 2013-01-26 20:43:54 +01:00
Sven Fuchs
d441336573 expose logs on /job/:id/log.txt 2013-01-26 20:43:54 +01:00
Sven Fuchs
37dd125a8c start notifications 2013-01-23 22:17:40 +01:00
Sven Fuchs
a9bf43c1fd always use etag for caching when cache_key or updated_at are present, add the deploy_sha as a cache buster 2012-12-09 19:22:33 +01:00
Sven Fuchs
f19f5f9879 check redis for :use_rack_cache 2012-12-09 15:16:50 +01:00
Mathias Meyer
142fad9b81 Hook up activerecord metrics log subscriber. 2012-12-05 11:11:18 +01:00
Mathias Meyer
ecd236a8ff Add metriks. 2012-12-05 11:11:18 +01:00
Sven Fuchs
24b6843bda Merge branch 'master' of github.com:travis-ci/travis-api
Conflicts:
	Gemfile.lock
2012-11-27 15:23:22 +01:00
Sven Fuchs
aff75592e3 don't set services manually 2012-11-27 15:22:23 +01:00
Piotr Sarnacki
76a4becb55 Add prefix for Rack::Cache 2012-11-25 23:48:39 +01:00
Mathias Meyer
3fc6059d03 require 'raven' 2012-11-07 11:54:50 +01:00
Mathias Meyer
612b7f1e9f Switch to sentry for exceptions. 2012-11-07 11:46:43 +01:00
Mathias Meyer
901d936531 Set up Sidekiq properly. 2012-11-07 10:59:13 +01:00
Mathias Meyer
b07667c52a Set up sidekiq. 2012-11-07 10:55:45 +01:00
Mathias Meyer
308ce72aee Bump travis-core. Start features on app boot. 2012-11-07 10:43:25 +01:00
Piotr Sarnacki
2f87153df9 Move CORS middleware in front of the stack
If there is an error somewhere along the line (like in DB connection
management), it should not interfere with returning proper result for
OPTIONS request. Otherwise it's hard to guess why the actual request in
the browser was not properly sent.
2012-11-05 21:48:13 +01:00
Piotr Sarnacki
e2b49a91d6 Use AR's ConnectionManagement before AR::QueryCache
(closes #14)
2012-11-01 13:05:49 +01:00
Piotr Sarnacki
37e6262917 Don't show backtraces on errors 2012-11-01 00:04:08 +01:00
Piotr Sarnacki
30d7b90592 Fix new relic 2012-10-24 20:49:06 +02:00