Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Rename heatbeat to heartbeat.#66

Merged
cmoog merged 1 commit intocoder:masterfromstephenwithav:fix-heartbeat-typo
Jul 1, 2020
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletionscmd/coder/shell.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -127,7 +127,7 @@ func runCommand(ctx context.Context, envName string, command string, args []stri
if err != nil {
return err
}
goheatbeat(ctx, conn, 15*time.Second)
goheartbeat(ctx, conn, 15*time.Second)

execer := wsep.RemoteExecer(conn)
process, err := execer.Start(ctx, wsep.Command{
Expand DownExpand Up@@ -175,7 +175,7 @@ func runCommand(ctx context.Context, envName string, command string, args []stri
return err
}

funcheatbeat(ctx context.Context, c *websocket.Conn, interval time.Duration) {
funcheartbeat(ctx context.Context, c *websocket.Conn, interval time.Duration) {
ticker := time.NewTicker(interval)
defer ticker.Stop()

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp