added initial batch decorator and fixed payload - still need to test batching
This commit is contained in:
parent
44c087aaae
commit
eff529a6ca
5 changed files with 57 additions and 6 deletions
|
|
@ -119,6 +119,8 @@ export class HandlerScanner {
|
|||
priority: schedule.priority,
|
||||
immediately: schedule.immediately,
|
||||
description: schedule.description,
|
||||
payload: schedule.payload,
|
||||
batch: schedule.batch,
|
||||
})),
|
||||
};
|
||||
|
||||
|
|
@ -147,6 +149,8 @@ export class HandlerScanner {
|
|||
priority: schedule.priority || 5,
|
||||
immediately: schedule.immediately || false,
|
||||
description: schedule.description || `${handlerName} ${schedule.operation}`,
|
||||
payload: schedule.payload, // Include payload from decorator
|
||||
batch: schedule.batch, // Include batch config from decorator
|
||||
};
|
||||
}),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue