mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 17:13:38 -05:00
add comments about aws-sdk and s3 backends
This commit is contained in:
parent
bd8d6bec10
commit
2ec38068aa
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
# This module is not used in production, which currently uses
|
||||||
|
# S3PersistorManager. The intention is to migrate S3PersistorManager to use the
|
||||||
|
# latest aws-sdk and delete this module so that PersistorManager would load the
|
||||||
|
# same backend for both the 's3' and 'aws-sdk' options.
|
||||||
|
|
||||||
logger = require "logger-sharelatex"
|
logger = require "logger-sharelatex"
|
||||||
aws = require "aws-sdk"
|
aws = require "aws-sdk"
|
||||||
_ = require "underscore"
|
_ = require "underscore"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
# This module is the one which is used in production. It needs to be migrated
|
||||||
|
# to use aws-sdk throughout, see the comments in AWSSDKPersistorManager for
|
||||||
|
# details. The knox library is unmaintained and has bugs.
|
||||||
|
|
||||||
http = require('http')
|
http = require('http')
|
||||||
http.globalAgent.maxSockets = 300
|
http.globalAgent.maxSockets = 300
|
||||||
https = require('https')
|
https = require('https')
|
||||||
|
|
Loading…
Reference in a new issue