Files
temporal/chasm/scheduler.go
Fred Tzeng 0f5469c0e5 Limit standalone activity retention time to 1 day (#9016)
## What changed?
Limit standalone activity retention time to 1 day. Export chasm
FullyQualifiedName and GenerateTypeID

## Why?
Agreed to limit standalone execution main persistence to one day, so as
not to incur extraneous costs and over-stress storage. Exported
FullyQualifiedName and GenerateTypeID so they are accessible to the
chasm activity code.

## How did you test it?
- [X] built
- [X] run locally and tested manually
- [X] covered by existing tests
- [X] added new unit test(s)
- [ ] added new functional test(s)
2026-01-13 15:55:25 -08:00

15 lines
458 B
Go

package chasm
// This file defines constants for Scheduler which is special to the CHASM framework
// because it shares the same ID space with Workflow for backwards compatibility reasons.
const (
SchedulerLibraryName = "scheduler"
SchedulerComponentName = "scheduler"
)
var (
SchedulerArchetype = Archetype(FullyQualifiedName(SchedulerLibraryName, SchedulerComponentName))
SchedulerArchetypeID = ArchetypeID(GenerateTypeID(SchedulerArchetype))
)