mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02:00
Merge pull request #19455 from overleaf/jpa-metrics
[misc] add metrics for document processing/broadcasting GitOrigin-RevId: d81de0dfb7a91863547631580f3c85f569718130
This commit is contained in:
@@ -15,7 +15,9 @@ describe('HttpController', function () {
|
||||
'./ProjectManager': (this.ProjectManager = {}),
|
||||
'./ProjectFlusher': { flushAllProjects() {} },
|
||||
'./DeleteQueueManager': (this.DeleteQueueManager = {}),
|
||||
'./RedisManager': (this.RedisManager = {}),
|
||||
'./RedisManager': (this.RedisManager = {
|
||||
DOC_OPS_TTL: 42,
|
||||
}),
|
||||
'./Metrics': (this.Metrics = {}),
|
||||
'./Errors': Errors,
|
||||
'@overleaf/settings': { max_doc_length: 2 * 1024 * 1024 },
|
||||
@@ -84,6 +86,7 @@ describe('HttpController', function () {
|
||||
ops: [],
|
||||
ranges: this.ranges,
|
||||
pathname: this.pathname,
|
||||
ttlInS: 42,
|
||||
})
|
||||
.should.equal(true)
|
||||
})
|
||||
@@ -134,6 +137,7 @@ describe('HttpController', function () {
|
||||
ops: this.ops,
|
||||
ranges: this.ranges,
|
||||
pathname: this.pathname,
|
||||
ttlInS: 42,
|
||||
})
|
||||
.should.equal(true)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user