chore(xo-server): increase blocked threshold from 10 to 50

This commit is contained in:
Julien Fontanet 2018-03-30 15:09:47 +02:00
parent 8b9f9ffa3e
commit c087eaf229

View File

@ -538,9 +538,14 @@ export default async function main (args) {
{ {
const debug = createLogger('xo:perf') const debug = createLogger('xo:perf')
blocked(ms => { blocked(
debug('blocked for %sms', ms | 0) ms => {
}) debug('blocked for %sms', ms | 0)
},
{
threshold: 50,
}
)
} }
const config = await loadConfiguration() const config = await loadConfiguration()