mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## 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)
15 lines
458 B
Go
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))
|
|
)
|