added initial batch decorator and fixed payload - still need to test batching

This commit is contained in:
Boki 2025-06-24 23:15:43 -04:00
parent 44c087aaae
commit eff529a6ca
5 changed files with 57 additions and 6 deletions

View file

@ -354,6 +354,8 @@ export abstract class BaseHandler implements IHandler {
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
};
});