mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
47820c61a0
[history-v1] make http request timeout configurable GitOrigin-RevId: b31b1c94563ddb5195f92af303e6b0f234856795
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"databaseUrl": "HISTORY_CONNECTION_STRING",
|
|
"herokuDatabaseUrl": "DATABASE_URL",
|
|
"databasePoolMin": "DATABASE_POOL_MIN",
|
|
"databasePoolMax": "DATABASE_POOL_MAX",
|
|
"persistor": {
|
|
"backend": "PERSISTOR_BACKEND",
|
|
"s3": {
|
|
"key": "AWS_ACCESS_KEY_ID",
|
|
"secret": "AWS_SECRET_ACCESS_KEY",
|
|
"maxRetries": "S3_MAX_RETRIES",
|
|
"httpOptions": {
|
|
"timeout": "S3_TIMEOUT"
|
|
}
|
|
},
|
|
"gcs": {
|
|
"deletedBucketSuffix": "GCS_DELETED_BUCKET_SUFFIX",
|
|
"unlockBeforeDelete": "GCS_UNLOCK_BEFORE_DELETE",
|
|
"endpoint": {
|
|
"apiEndpoint": "GCS_API_ENDPOINT",
|
|
"projectId": "GCS_PROJECT_ID"
|
|
},
|
|
"retryOptions": {
|
|
"maxRetries": "GCS_MAX_RETRIES",
|
|
"idempotencyStrategy": "GCS_IDEMPOTENCY_STRATEGY"
|
|
}
|
|
},
|
|
"fallback": {
|
|
"backend": "PERSISTOR_FALLBACK_BACKEND",
|
|
"buckets": "PERSISTOR_BUCKET_MAPPING"
|
|
}
|
|
},
|
|
"blobStore": {
|
|
"globalBucket": "OVERLEAF_EDITOR_BLOBS_BUCKET",
|
|
"projectBucket": "OVERLEAF_EDITOR_PROJECT_BLOBS_BUCKET"
|
|
},
|
|
"chunkStore": {
|
|
"historyStoreConcurrency": "HISTORY_STORE_CONCURRENCY",
|
|
"bucket": "OVERLEAF_EDITOR_CHUNKS_BUCKET"
|
|
},
|
|
"zipStore": {
|
|
"bucket": "OVERLEAF_EDITOR_ZIPS_BUCKET",
|
|
"zipTimeoutMs": "ZIP_STORE_ZIP_TIMEOUT_MS"
|
|
},
|
|
"mongo": {
|
|
"uri": "MONGO_CONNECTION_STRING"
|
|
},
|
|
"basicHttpAuth": {
|
|
"password": "STAGING_PASSWORD",
|
|
"oldPassword": "BASIC_HTTP_AUTH_OLD_PASSWORD"
|
|
},
|
|
"jwtAuth": {
|
|
"key": "OT_JWT_AUTH_KEY",
|
|
"oldKey": "OT_JWT_AUTH_OLD_KEY",
|
|
"algorithm": "OT_JWT_AUTH_ALG"
|
|
},
|
|
"clusterWorkers": "CLUSTER_WORKERS",
|
|
"maxFileUploadSize": "MAX_FILE_UPLOAD_SIZE",
|
|
"httpsOnly": "HTTPS_ONLY",
|
|
"httpRequestTimeout": "HTTP_REQUEST_TIMEOUT"
|
|
}
|