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

Commit9e07bb4

Browse files
committed
fix: stop activity bump if no tracked sessions
1 parent27f5ff2 commit9e07bb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎coderd/workspacestats/reporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ func (r *Reporter) ReportAgentStats(ctx context.Context, now time.Time, workspac
136136
},stats.Metrics)
137137
}
138138

139-
// if no activeconnections we do not bump activity
140-
ifstats.ConnectionCount==0 {
139+
// if no activesessions we do not bump activity
140+
ifstats.SessionCountJetbrains==0&&stats.SessionCountVscode==0&&stats.SessionCountReconnectingPty==0&&stats.SessionCountSsh==0 {
141141
returnnil
142142
}
143143

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp