Commit graph

69 commits

Author SHA1 Message Date
Brian
9bb534707f shutdown workers when idle 2015-03-10 13:33:05 +00:00
Brian
9c0272445f extend worker to include request count 2015-03-10 13:32:42 +00:00
Brian
5ba5fd5533 fix caching logic to include valid words, as well as mispellings
include logging of cache hits
2015-03-10 13:31:06 +00:00
Brian
10c3d3eb70 replace deprecated res.send(code) with res.sendStatus(code) 2015-03-09 15:56:49 +00:00
Brian
21c664b28c fix variable mismatch in error handler 2015-03-09 15:52:25 +00:00
Brian Gough
a36d14f4cc fix caching of suggestions 2015-03-04 17:00:19 +00:00
Brian Gough
a49f80cb21 support Aspell worker pool 2015-03-04 16:43:59 +00:00
Henry Oswald
726afb6b90 use sendstatus not send 2015-03-03 15:20:05 +00:00
Henry Oswald
a7185c412c use res.sendStatus not re.send 2015-03-03 14:45:32 +00:00
Henry Oswald
5b0f69a50d added cache to learn words manager 2015-03-03 14:28:47 +00:00
Henry Oswald
72ce615641 added lru cache 2015-03-03 13:57:16 +00:00
Henry Oswald
c8ec6451ce removed the reset of restify 2015-03-03 08:10:47 +00:00
Henry Oswald
7bbce79ff6 convert app to use express not restifiy so it works with metrics-sharelatex 2015-03-02 18:13:28 +00:00
Brian Gough
876ea130b9 check the words in batches, to avoid blocking the event loop 2015-03-02 16:58:10 +00:00
Henry Oswald
bf3e568db9 add timeout for health check 2015-03-01 12:56:31 +00:00
Henry Oswald
1d98d45320 fix port for health check 2015-03-01 12:53:10 +00:00
Henry Oswald
48badde67a Merge branch 'master' of https://github.com/sharelatex/spelling-sharelatex 2015-03-01 12:48:13 +00:00
James Allen
5c002bc9b1 Use ShareLaTeX conventions 2014-08-15 12:25:54 +01:00
James Allen
421647ff63 Initial open source commit 2014-08-15 12:13:35 +01:00