decaffeinate: rename app/coffee dir to app/js

This commit is contained in:
mserranom
2020-02-19 12:14:34 +01:00
parent c056ca6968
commit 4576ef54fb
26 changed files with 0 additions and 0 deletions

18
app/js/DbQueue.js Normal file
View File

@@ -0,0 +1,18 @@
// TODO: This file was created by bulk-decaffeinate.
// Sanity-check the conversion and remove this comment.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
const async = require("async");
const Settings = require("settings-sharelatex");
const logger = require("logger-sharelatex");
const queue = async.queue((task, cb)=> task(cb)
, Settings.parallelSqlQueryLimit);
queue.drain = ()=> logger.debug('all items have been processed');
module.exports =
{queue};