Faucet.refill: only log when logging is enabled
This commit is contained in:
parent
357fc3577e
commit
b7ca6da1bf
@ -146,7 +146,7 @@ export class Faucet {
|
||||
}
|
||||
if (jobs.length > 0) {
|
||||
for (const job of jobs) {
|
||||
logSendJob(job);
|
||||
if (this.logging) logSendJob(job);
|
||||
await this.send(job);
|
||||
await sleep(50);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user