返回 DeepSeek-Reasonix
topic_state_budget.go
根目录 / desktop / topic_state_budget.go
1 package main
2
3 import "context"
4
5 // The transaction and its legacy mirror share this budget, after cold-open
6 // and reconciliation complete. Tests inject a context to verify that boundary.
7 func newTopicOperationContext() (context.Context, context.CancelFunc) {
8 return context.WithTimeout(context.Background(), topicStateOperationTimeout)
9 }
10
10 lines GO