Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: update lookup references #163

Merged
merged 12 commits into from
Dec 2, 2024
3 changes: 3 additions & 0 deletions src/imports/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ export const DEFAULT_JPEG_MAX_SIZE = 3840;
export const DEFAULT_THUMBNAIL_SIZE = 200;
export const DEFAULT_EXPIRATION = 31536000;
export const ALLOWED_CORS_FILE_TYPES = ['png', 'jpg', 'gif', 'jpeg', 'webp'];

export const WRITE_TIMEOUT = 3e4; // 30 seconds
export const TRANSACTION_OPTIONS = { readConcern: { level: 'majority' }, writeConcern: { w: 'majority', wtimeoutMS: WRITE_TIMEOUT } };
Loading
Loading