Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
1002 B
Go
34 lines
1002 B
Go
package goprocess
|
|
|
|
// Background returns the "bgProcess" Process: a statically allocated
|
|
// process that can _never_ close. It also never enters Closing() state.
|
|
// Calling Background().Close() will hang indefinitely.
|
|
func Background() Process {
|
|
return background
|
|
}
|
|
|
|
var background = new(bgProcess)
|
|
|
|
type bgProcess struct{}
|
|
|
|
func (*bgProcess) WaitFor(q Process) {}
|
|
func (*bgProcess) AddChildNoWait(q Process) {}
|
|
func (*bgProcess) AddChild(q Process) {}
|
|
func (*bgProcess) Close() error { select {} }
|
|
func (*bgProcess) CloseAfterChildren() error { select {} }
|
|
func (*bgProcess) Closing() <-chan struct{} { return nil }
|
|
func (*bgProcess) Closed() <-chan struct{} { return nil }
|
|
func (*bgProcess) Err() error { select {} }
|
|
|
|
func (*bgProcess) SetTeardown(tf TeardownFunc) {
|
|
panic("can't set teardown on bgProcess process")
|
|
}
|
|
func (*bgProcess) Go(f ProcessFunc) Process {
|
|
child := newProcess(nil)
|
|
go func() {
|
|
f(child)
|
|
child.Close()
|
|
}()
|
|
return child
|
|
}
|