mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 04:53:44 -05:00
lock down metrics and spelling
This commit is contained in:
parent
af21e0aec6
commit
a427634cbb
2 changed files with 6 additions and 6 deletions
|
@ -12,9 +12,9 @@
|
|||
"body-parser": "^1.12.0",
|
||||
"coffee-script": "^1.9.1",
|
||||
"express": "^4.12.1",
|
||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
|
||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
|
||||
"lru-cache": "^2.5.0",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.3.0",
|
||||
"mongojs": "1.3.0",
|
||||
"node-statsd": "0.0.3",
|
||||
"redis": "~0.8.4",
|
||||
|
|
|
@ -80,7 +80,7 @@ q.drain = () ->
|
|||
console.log('all items have been processed');
|
||||
|
||||
for i in [0 .. 1000]
|
||||
if Math.random() < 0.1
|
||||
q.push({correct: Math.floor(10000*Math.random()), incorrect: Math.floor(100*Math.random())})
|
||||
else
|
||||
q.push({correct: Math.floor(3*Math.random()) + 1, incorrect: Math.floor(3*Math.random())})
|
||||
q.push({correct: Math.floor(30*Math.random()) + 1, incorrect: Math.floor(3*Math.random())})
|
||||
# if Math.random() < 0.1
|
||||
# else
|
||||
# q.push({correct: Math.floor(100*Math.random()) + 1, incorrect: Math.floor(3*Math.random())})
|
||||
|
|
Loading…
Reference in a new issue