mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
chore: comment out onHold debug messages
seem stable enough but just comment out if needed in the future
This commit is contained in:
parent
e4a3447a5e
commit
afd81c965d
@ -73,9 +73,11 @@ self.getUniqueAlbumIdentifier = async res => {
|
||||
continue
|
||||
}
|
||||
|
||||
/*
|
||||
if (utils.devmode) {
|
||||
logger.debug(`albums.onHold: ${utils.inspect(self.onHold)}`)
|
||||
}
|
||||
*/
|
||||
|
||||
// Unhold identifier once the Response has been sent
|
||||
if (res) {
|
||||
@ -100,9 +102,11 @@ self.unholdAlbumIdentifiers = res => {
|
||||
for (const identifier of res.locals.identifiers) {
|
||||
self.onHold.delete(identifier)
|
||||
|
||||
/*
|
||||
if (utils.devmode) {
|
||||
logger.debug(`albums.onHold: ${utils.inspect(self.onHold)} -> ${utils.inspect(identifier)}`)
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
delete res.locals.identifiers
|
||||
|
@ -188,9 +188,11 @@ self.getUniqueUploadIdentifier = async (length, extension = '', res) => {
|
||||
continue
|
||||
}
|
||||
|
||||
/*
|
||||
if (utils.devmode) {
|
||||
logger.debug(`upload.onHold: ${utils.inspect(self.onHold)}`)
|
||||
}
|
||||
*/
|
||||
|
||||
// Unhold identifier once the Response has been sent
|
||||
if (res) {
|
||||
@ -226,9 +228,11 @@ self.unholdUploadIdentifiers = res => {
|
||||
for (const identifier of res.locals.identifiers) {
|
||||
self.onHold.delete(identifier)
|
||||
|
||||
/*
|
||||
if (utils.devmode) {
|
||||
logger.debug(`upload.onHold: ${utils.inspect(self.onHold)} -> ${utils.inspect(identifier)}`)
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
delete res.locals.identifiers
|
||||
|
Loading…
Reference in New Issue
Block a user