mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-28 09:57:29 +08:00
Add autonomous world runtime
This commit is contained in:
@@ -59,7 +59,7 @@ func (s *Server) unsubscribeRuntimeLive(ch chan []byte) {
|
||||
}
|
||||
|
||||
func (s *Server) runtimeLiveLoop() {
|
||||
ticker := time.NewTicker(10 * time.Second)
|
||||
ticker := time.NewTicker(2 * time.Second)
|
||||
defer ticker.Stop()
|
||||
for {
|
||||
if !s.publishRuntimeSnapshot(context.Background()) {
|
||||
|
||||
Reference in New Issue
Block a user