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

223 Коммитов

Автор SHA1 Сообщение Дата
Ibrahim Awwal 95941b36b8 Guardfile set up for unicorn. 2012-09-05 22:44:49 -07:00
Ibrahim Awwal 328bd167cf Ignore logs. 2012-09-05 22:44:06 -07:00
David Ormsbee c236440246 Merge pull request #2 from rll/dave/tuning
Performance tuning
2012-09-04 18:27:23 -07:00
David Ormsbee c8204217b9 Add a few more indexes, make some explicit queries to make sure we're using those indexes. 2012-09-04 21:01:27 -04:00
David Ormsbee 2fd29112b4 Pull only :tags_array in trending (~4x speed increase) 2012-09-04 15:53:30 -04:00
David Ormsbee 9b55d7ec28 Don't do the body exclusion for subscribed_threads in the model 2012-09-04 15:35:28 -04:00
David Ormsbee 5bf64eb07f Make User model do more work in the DB layer 2012-09-04 15:34:41 -04:00
David Ormsbee 9b188b8749 Fine tune New Relic config params 2012-09-03 17:05:45 -04:00
David Ormsbee cf7e071cc4 add loadtest env for new relic 2012-09-03 16:59:15 -04:00
David Ormsbee 95c6f3d31e Preload unicorn app to make New Relic work 2012-09-03 16:45:08 -04:00
David Ormsbee 1ffaee2acf Force New Relic data to be sent with Unicorn even without preload_app = True 2012-09-03 16:33:06 -04:00
David Ormsbee cd22aedf46 Add procfile, unicorn config 2012-09-03 16:25:24 -04:00
David Ormsbee 3f8859ed4f The return of the Procfile and the intro of Unicorn 2012-09-03 16:09:26 -04:00
David Ormsbee 6d1be93d99 include loadtest environment for loading newrelic_rpm 2012-09-03 15:19:01 -04:00
David Ormsbee 1d4634e98d Removed Procfile (it'll go to using the Rack config.ru) 2012-09-03 14:57:30 -04:00
David Ormsbee b857c77373 Make sure Rakefile uses of application.yml also get run through pre-processing 2012-09-03 14:57:30 -04:00
David Ormsbee 3c3074e660 Add New Relic config 2012-09-03 14:57:30 -04:00
David Ormsbee 330f252f70 Convert to Heroku config 2012-09-03 14:57:30 -04:00
Ibrahim Awwal 432a62d961 Fix rake db:init.
This is kind of a hack and I'm not sure why it's undefined in the Rake task
because it works when running the app, and #{field}_changed? is defined by
Mongoid as part of its dirty tracking implementation.
2012-08-31 18:20:53 -07:00
Ibrahim Awwal 72a26d070a Don't bump a thread just for being closed. 2012-08-29 23:26:19 -07:00
Ibrahim Awwal 515bacaef6 Merge pull request #1 from rll/sort_preferences
Sort preferences
2012-08-29 22:22:49 -07:00
Ibrahim Awwal 031a944b49 Ignore bundler bin stubs directory 2012-08-28 22:43:58 -07:00
Ibrahim Awwal 4aebb3a28a Add default_sort_key field to users. 2012-08-28 22:43:05 -07:00
Ibrahim Awwal 1e4f86a4ee This .rvmrc is works for me, it didn't before. 2012-08-26 16:26:06 -07:00
Rocky Duan a075f5d963 return preprocessed thread data for recent_active 2012-08-22 18:57:26 -07:00
Rocky Duan 370dd7e27b return commentable id 2012-08-22 16:43:05 -07:00
Rocky Duan c03b27bc0a forgot to commit... 2012-08-21 17:23:47 -07:00
Rocky Duan 80522e5f7f make elasticsearch server location configurable 2012-08-21 13:36:11 -07:00
Rocky Duan 0060851a5b add shared key authentication 2012-08-21 13:22:27 -07:00
Rocky Duan 3b10ee3f4f update gemfile lock 2012-08-20 13:40:15 -07:00
Rocky Duan 3c5aee7dfd Merge branch 'master' of github.com:rll/cs_comments_service 2012-08-20 13:36:16 -07:00
Rocky Duan bc2a9e1f6a return type of content & disable cache for now 2012-08-20 13:34:51 -07:00
David Ormsbee 6610af4cfc Update MongoDB to point to staging test server 2012-08-20 13:00:00 -04:00
David Ormsbee 67471ec727 updated gemlock file without sqlite3 2012-08-20 12:52:49 -04:00
David Ormsbee 93ffba9c50 Completely remove sqlite3 from gems 2012-08-20 12:51:33 -04:00
David Ormsbee 86672a5380 Heroku doesn't like the sqlite3 gem 2012-08-20 12:49:15 -04:00
David Ormsbee dd73d8fee5 Specify ruby version for heroku's sake 2012-08-20 12:43:17 -04:00
David Ormsbee 269f0411ec Update Gemfile.lock with https locations 2012-08-20 12:40:17 -04:00
David Ormsbee a1bcd77edf Update gems to pull public ones from http so we don't need to worry about keys 2012-08-20 12:35:07 -04:00
David Ormsbee eb03c47566 Try http in gemfile 2012-08-20 12:32:51 -04:00
David Ormsbee a57df03d3f Re-add a diff procfile 2012-08-20 12:08:06 -04:00
David Ormsbee 42d98cd968 Use a Rack config file 2012-08-20 11:55:55 -04:00
David Ormsbee 8d03d03c33 Add Procfile for running web task 2012-08-20 11:39:57 -04:00
David Ormsbee 3d6f6182a7 Add Gemfile.lock 2012-08-20 11:32:32 -04:00
David Ormsbee 46c45a1aea add temp staging config for testing 2012-08-20 11:17:48 -04:00
dementrock 40d2c2ad75 fixed returned format bug 2012-08-19 04:01:49 +04:00
dementrock c4e1540825 Merge branch 'benchmark' of github.com:rll/cs_comments_service into benchmark 2012-08-18 09:23:02 +04:00
Rocky Duan c12cc34a5a cache for thread query 2012-08-17 22:22:27 -07:00
dementrock b316c9a5b8 Merge branch 'benchmark' of github.com:rll/cs_comments_service into benchmark 2012-08-18 08:56:52 +04:00
Rocky Duan ce1c0d9607 use the same query params each time 2012-08-17 21:56:37 -07:00