MCPcopy Create free account
hub / github.com/astercloud/aster / DefaultSystemConfig

Function DefaultSystemConfig

pkg/actor/system.go:61–69  ·  view source on GitHub ↗

DefaultSystemConfig 默认系统配置

()

Source from the content-addressed store, hash-verified

59
60// DefaultSystemConfig 默认系统配置
61func DefaultSystemConfig() *SystemConfig {
62 return &SystemConfig{
63 MailboxSize: 10000,
64 DeadLetterSize: 1000,
65 DefaultActorMailboxSize: 100,
66 EnableDeadLetterLogging: true,
67 PanicHandler: defaultPanicHandler,
68 }
69}
70
71func defaultPanicHandler(actor *PID, msg Message, err any) {
72 actorLog.Error(context.Background(), "PANIC in actor", map[string]any{

Callers 10

NewActorEngineFunction · 0.92
initializeA2AMethod · 0.92
TestSupervisorRestartMethod · 0.92
TestActorHighThroughputFunction · 0.92
runSupervisorDemoFunction · 0.92
NewSystemFunction · 0.85
NewSystemWithConfigFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestSupervisorRestartMethod · 0.74
TestActorHighThroughputFunction · 0.74