You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@semse this change was introduced in hatchet-dev/hatchet-typescript#213 in favor of options, but the change should be backwards compatible with your existing code.
Documented is:
const worker = hatchet.worker("my-worker", {
maxRuns: 5,
});
But instead it should be:
const worker = hatchet.worker("my-worker", 5);
The documented code does not work and leads to an error.
https://docs.hatchet.run/home/features/concurrency/overview
The text was updated successfully, but these errors were encountered: