overleaf/services/docstore
Henry Oswald 9cfa4b3f84 Don't put docs which are already in s3 through archive job
This fixes the bug we saw with 'RangeError: Maximum call stack size exceeded'
if lots of docs are already in s3 cb() gets called synchronously multiple times quickly
which can cause the execption. I am not sure where the recursion is, maybe inside async.

doing setImmediate(cb) also fixes the issue as I beilve it gives the
process chance to clear the stack. Similar to process.nextTick
2015-09-07 14:11:02 +01:00
..
app/coffee Don't put docs which are already in s3 through archive job 2015-09-07 14:11:02 +01:00
config fixed config to work with s3 correctly 2015-08-13 14:16:40 +01:00
test Don't put docs which are already in s3 through archive job 2015-09-07 14:11:02 +01:00
.gitignore Add POST end point for updating doc lines 2014-04-29 11:49:09 +01:00
.travis.yml Create .travis.yml 2014-04-28 16:48:36 +01:00
app.coffee changed back to standard /archive /unarchive 2015-08-18 14:10:53 +01:00
Gruntfile.coffee added grep for tests 2015-01-20 15:25:35 +00:00
LICENSE Create LICENSE 2014-04-28 16:50:47 +01:00
package.json added event loop monitor 2015-06-23 13:55:33 +01:00
README.md Create README.md 2014-04-28 16:50:23 +01:00

docstore-sharelatex

A CRUD API for storing and updating text documents in projects

Build Status

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE file.

Copyright (c) ShareLaTeX, 2014.