WH01243 1 долоо хоног өмнө
parent
commit
8e8418f120
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      rpc/main.go

+ 1 - 1
rpc/main.go

@@ -128,7 +128,7 @@ func (s *server) setupTimedTasks(ctx context.Context) {
 	}{
 		{1 * time.Minute, "sendTalk"},
 		{1 * time.Hour, "getContacts"},
-		{30 * time.Second, "heartbeat"},
+		{1 * time.Minute, "heartbeat"},
 	}
 
 	for _, task := range tasks {