mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #29597 from overleaf/ar-last-features-esm-conversion
[web] last features esm conversion GitOrigin-RevId: a35ab995bf654f1cdfe0e0062d8806761ecccf2d
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
import '../app/src/models/User.mjs'
|
||||
import { batchedUpdateWithResultHandling } from '@overleaf/mongo-utils/batchedUpdate.js'
|
||||
import { promiseMapWithLimit } from '@overleaf/promise-utils'
|
||||
import { getQueue } from '../app/src/infrastructure/Queues.js'
|
||||
import Queues from '../app/src/infrastructure/Queues.mjs'
|
||||
import SubscriptionLocator from '../app/src/Features/Subscription/SubscriptionLocator.mjs'
|
||||
import PlansLocator from '../app/src/Features/Subscription/PlansLocator.mjs'
|
||||
import FeaturesHelper from '../app/src/Features/Subscription/FeaturesHelper.mjs'
|
||||
import { db } from '../app/src/infrastructure/mongodb.js'
|
||||
|
||||
const { getQueue } = Queues
|
||||
const WRITE_CONCURRENCY = parseInt(process.env.WRITE_CONCURRENCY || '10', 10)
|
||||
|
||||
const mixpanelSinkQueue = getQueue('analytics-mixpanel-sink')
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
READ_PREFERENCE_SECONDARY,
|
||||
} from '../app/src/infrastructure/mongodb.js'
|
||||
import { promiseMapWithLimit } from '@overleaf/promise-utils'
|
||||
import TokenGenerator from '../app/src/Features/TokenGenerator/TokenGenerator.js'
|
||||
import TokenGenerator from '../app/src/Features/TokenGenerator/TokenGenerator.mjs'
|
||||
import { batchedUpdate } from '@overleaf/mongo-utils/batchedUpdate.js'
|
||||
|
||||
const VERBOSE_LOGGING = process.env.VERBOSE_LOGGING === 'true'
|
||||
|
||||
Reference in New Issue
Block a user