mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
ci: Fix linting issues (no-changelog) (#6788)
* ci: Fix linting (no-changelog) * lintfix for nodes-base as well
This commit is contained in:
committed by
GitHub
parent
4e491b754f
commit
6fb8a9ee39
@@ -198,9 +198,12 @@ export class AmqpTrigger implements INodeType {
|
||||
this.emit([this.helpers.returnJsonArray([data as any])]);
|
||||
|
||||
if (!context.receiver?.has_credit()) {
|
||||
setTimeout(() => {
|
||||
context.receiver?.add_credit(pullMessagesNumber);
|
||||
}, (options.sleepTime as number) || 10);
|
||||
setTimeout(
|
||||
() => {
|
||||
context.receiver?.add_credit(pullMessagesNumber);
|
||||
},
|
||||
(options.sleepTime as number) || 10,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user