Commit graph

295 commits

Author SHA1 Message Date
Brian Gough
c8103a4f35 don't run the idle shutdown timer if the process has errored 2015-03-12 10:27:11 +00:00
Brian Gough
3da42df92c log when a worker is removed from the pool 2015-03-12 10:26:52 +00:00
Brian Gough
3542918941 add logging for ASpell worker errors 2015-03-12 09:55:15 +00:00
Brian Gough
7936269804 add metrics for ASpell workers 2015-03-12 09:54:57 +00:00
Brian Gough
ed33cd59b7 show hit rate to 2dp only 2015-03-12 09:53:58 +00:00
Brian Gough
b684ed0837 put a unique end of stream marker in the session dictionary 2015-03-11 16:58:22 +00:00
Brian Gough
a655041bdd fix typo in iterator for cache object 2015-03-11 15:57:33 +00:00
Brian
31f6013172 increase delay for timeout in test 2015-03-11 15:38:19 +00:00
Brian
080f33335a added stress test example 2015-03-11 15:37:18 +00:00
Brian
c3a70b6184 fix bug in worker cleanup 2015-03-11 14:53:06 +00:00
Brian
220f82a395 store suggestions as language:word instead of word
avoid words like 'constructor' from accessing properties of
suggestions object.
2015-03-11 14:52:06 +00:00
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
c549d29d8e test that Aspell is killed by timeout 2015-03-04 16:44:13 +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
536e014600 remove js tests 2015-03-03 14:27:55 +00:00
Henry Oswald
35254be989 fix up the aspell tests 2015-03-03 14:25:54 +00:00
Henry Oswald
72ce615641 added lru cache 2015-03-03 13:57:16 +00:00
Henry Oswald
3212866e82 increase json size to 2mb 2015-03-03 13:57:05 +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
86416775fc added flame graph 2015-03-02 15:49:12 +00:00
Henry Oswald
57d214e2dd fix metrics key name 2015-03-02 14:59:30 +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
Henry Oswald
eb193c24ae added health check endpoint 2015-03-01 12:45:14 +00:00
James Allen
920d498ff4 Release version 0.1.3 2015-02-26 11:36:08 +00:00
James Allen
22a1f8fdaf Release version 0.1.2 2015-02-10 13:17:34 +00:00
James Allen
aa7ab83ddf Lock down module versions 2014-08-19 14:13:24 +01:00
James Allen
86eb3b63d7 Release version 0.1.0 2014-08-19 13:54:48 +01:00
James Allen
6856a19b11 Update README.md 2014-08-15 12:37:17 +01:00
James Allen
103553bef1 Create LICENSE 2014-08-15 12:35:06 +01:00
James Allen
239f397067 Create README.md 2014-08-15 12:34:36 +01:00
James Allen
ce1177abe0 Create .travis.yml 2014-08-15 12:33:29 +01: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