Faucet.refill: only log when logging is enabled
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user