Граф коммитов

80 Коммитов

Автор SHA1 Сообщение Дата
Toby Lawrence 488fb2e9f8 Revert "Replaced Tire with elasticsearch-model"
This reverts commit 56b61a13ef.
2016-08-09 15:37:16 -04:00
Toby Lawrence 6d7aec757d Merge branch 'master' into clintonb/replace-tire 2016-08-03 09:54:05 -04:00
Tobias Macey 1077607dc2 Updated the Mongoid configuration options
Updated the Mongoid configuration so that the read and write modes can
be specified via the `forum_env`.
2016-08-01 14:27:34 -04:00
Clinton Blackburn 56b61a13ef Replaced Tire with elasticsearch-model
- Replaced Tire with elasticsearch-model
- Updated README
- Added task to initialize a new index
2016-05-03 22:22:54 -04:00
Brian Beggs f959e2ecec Upgrade Mongoid to 5.x release 2015-12-04 11:35:33 -05:00
Matjaz Gregoric e863ec41c4 Add ability to set ssl option through env variable. 2015-04-11 12:20:08 +02:00
jsa 3f21215e2f Add/update thread filters (flagged, unread, unanswered). 2014-08-04 15:50:55 -04:00
jsa 30945ddf9d reinstate disconnection from mongo in unicorn master thread
e61430d943 was inadvertently lost in a recent change, this puts it back.
2014-03-25 14:14:31 -04:00
Carson Gee 4bcb242893 Added missing backlog 2014-03-10 15:34:18 -04:00
Carson Gee d116df7818 Removing TERM to QUIT translator 2014-03-10 15:28:38 -04:00
Carson Gee 865080c52c Adding additional config for production tcp listener 2014-03-10 11:39:44 -04:00
jsa f9317f7352 fix unicorn defaults; keep using old version of config in Procfile 2014-02-21 14:34:05 -05:00
e0d 5ef2743183 removing duplicated timeout 2014-02-07 11:41:11 -05:00
e0d 04fec1189f Working unicorn with env config.
workers from env, use socket

syntax change

temp hard code

path changes, debugging.

typo.

dynamic env.

more vars.
2014-02-07 11:41:11 -05:00
Jim Abramson 5f10609db3 Merge pull request #78 from edx/feature/jsa/tx
set up transifex
2013-12-19 06:26:48 -08:00
jsa 57553efdbc set up transifex 2013-12-18 18:31:44 -05:00
Jim Abramson 62b7ab5051 Merge pull request #76 from edx/feature/jsa/i18n
set up i18n in comments service
2013-12-18 06:22:39 -08:00
jimabramson f8fb343aa2 set up i18n
* add i18n gem
* configure default_locale (en-US)
* externalize strings
* configure locale fallbacks
* add tests
2013-12-17 17:58:53 -05:00
jimabramson 04aa4362cd override mongoid.yml defaults from env 2013-12-12 09:22:30 -05:00
jimabramson 67a6d6f72a rewrite TERM to QUIT for more graceful shutdowns 2013-12-12 09:22:24 -05:00
jimabramson b59fa107a2 Adjust mongoid config to fail quickly when the database is unreachable. 2013-12-10 12:12:30 -05:00
jimabramson 212a513fa3 fix syntax problem in unicorn config 2013-11-06 15:48:42 -05:00
jimabramson e61430d943 disconnect default mongoid session after forking. 2013-11-06 15:17:49 -05:00
jimabramson 371e7c34ef tweak request timeout settings for heroku
* use Rack::Timeout, set to 20s
* set unicorn timeout to 25s

Ideally these are set lower, around 10s/15s, however we need to reduce long-running requests (such as notifier batch pulls) before we can safely do this.
2013-11-05 10:31:44 -05:00
jimabramson 8e41d39be4 configure mongodb instances by uri 2013-10-07 14:22:23 -04:00
jimabramson 7299378c5e refactor to generate thread list views more efficiently.
additionally, remove unused caching features and update mongo indexing.
2013-10-07 14:19:49 -04:00
jimabramson 03153453f5 revert unicorn preload_app 2013-09-24 16:56:03 -04:00
jimabramson 55412dc1cc dont preload app 2013-09-24 16:26:10 -04:00
jimabramson 44910f3b50 max_retries -> 1, retry_interval -> 1 2013-09-24 15:52:06 -04:00
Jim Abramson e9ca95bb62 remove retry_interval 2013-09-24 15:32:35 -04:00
Jim Abramson 2525bdb088 max_retries -> 50 2013-09-24 15:29:24 -04:00
Jim Abramson 08c81863c4 add max_retries / retry_interval in loadtest 2013-09-24 14:16:23 -04:00
jimabramson bbdcbae559 harmonize loadtest mongoid config 2013-09-24 11:20:59 -04:00
jimabramson ad4eb30ad9 Merge branch 'master' into feature/jsa/ds-reindex
Conflicts:
	Rakefile
2013-08-20 17:13:09 -04:00
Kevin Chugh 03ddd0863a add flagging test to notifications 2013-08-06 13:21:23 -04:00
Kevin Chugh 14e781654d add thread subset test 2013-08-06 11:32:46 -04:00
jimabramson 55f70cb949 Revert "Merge pull request #41 from edx/feature/kevin/deep_search"
This reverts commit d692c082ab, reversing
changes made to c2a5325644.
2013-07-22 16:46:18 -04:00
jimabramson 6b1e978207 name both replica set nodes in mongoid config 2013-07-22 09:58:46 -04:00
Your Name 829a3b9c23 Merge commit '5a55598ab160b439aaa6b6d40b36e644a0e9fbe3' into feature/kevin/deep_search 2013-07-11 12:54:48 -04:00
Your Name f7b1264e30 remove credentials after updating 2013-07-11 12:03:30 -04:00
Kevin Chugh 05f285a934 limit the number of comments searched, prepare for ES and Tire upgrade to allow indexing comments comment_thread_id 2013-07-11 06:25:12 -04:00
Your Name 96ab170bca deep search performance testing working with duct tape to avoid 401 error in development 2013-07-02 19:11:52 -04:00
e0d 5a55598ab1 Updating the loadtest env config. 2013-07-02 13:25:27 -04:00
Your Name de13cf58fa update for debugging 2013-03-07 13:38:08 -05:00
e0d 3032f8ad12 adding missing config stanzas 2013-02-13 18:23:25 -05:00
e0d fddf3d191a new edge environments 2013-01-04 10:15:32 -05:00
David Ormsbee 6650a39dc0 put strong consistency on prod to see if that forces reads from member0 2012-10-22 18:29:24 -04:00
David Ormsbee dc297148c6 Remove member1 from the prod pool config 2012-10-22 17:47:01 -04:00
David Ormsbee 1879f5e3af tweak replica set config 2012-10-22 17:13:43 -04:00
David Ormsbee f8e883b488 Testing out better redundancy config in case performance problems of today are related to that. 2012-10-14 12:45:56 -04:00