1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00
unleash.unleash/src/lib/features/scheduler
Gastón Fournier 0a2d40fb8b
feat: allow schedulers to run in a single node (#6794)
## About the changes
This PR provides a service that allows a scheduled function to run in a
single instance. It's currently not in use but tests show how to wrap a
function to make it single-instance:

65b7080e05/src/lib/features/scheduler/job-service.test.ts (L26-L32)

The key `'test'` is used to identify the group and most likely should
have the same name as the scheduled job.

---------

Co-authored-by: Christopher Kolstad <chriswk@getunleash.io>
2024-04-10 11:47:22 +02:00
..
job-service.test.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
job-service.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
job-store.test.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
job-store.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
schedule-services.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
scheduler-service.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
scheduler-service.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00