Migrate from s3 sdk v2 to v3 (#6731)
* chore: migrate from s3 sdk v2 to v3 * import signature-v4-crt * downgrade minor version * Add s3-presigned-post manually * Change s3 mock * Update server/storage/files/S3Storage.ts * docs * Upgrade aws-sdk --------- Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -4,7 +4,6 @@ import env from "./env";
|
||||
|
||||
import "./logging/tracer"; // must come before importing any instrumented module
|
||||
|
||||
import maintenance from "aws-sdk/lib/maintenance_mode_message";
|
||||
import http from "http";
|
||||
import https from "https";
|
||||
import Koa from "koa";
|
||||
@@ -28,9 +27,6 @@ import RedisAdapter from "./storage/redis";
|
||||
import Metrics from "./logging/Metrics";
|
||||
import { PluginManager } from "./utils/PluginManager";
|
||||
|
||||
// Suppress the AWS maintenance message until upgrade to v3.
|
||||
maintenance.suppress = true;
|
||||
|
||||
// The number of processes to run, defaults to the number of CPU's available
|
||||
// for the web service, and 1 for collaboration during the beta period.
|
||||
let webProcessCount = env.WEB_CONCURRENCY;
|
||||
|
||||
Reference in New Issue
Block a user