Skip to content

Commit c8bc07e

Browse files
committed
revert
1 parent 1b9be00 commit c8bc07e

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
@@ -137,8 +137,8 @@ func (r *Reporter) ReportAgentStats(ctx context.Context, now time.Time, workspac
137137
return nil
138138
}
139139

140-
// if no active sessions we do not bump activity
141-
if stats.SessionCountJetbrains == 0 && stats.SessionCountReconnectingPty == 0 && stats.SessionCountSsh == 0 && stats.SessionCountVscode == 0 {
140+
// if no active connections we do not bump activity
141+
if stats.ConnectionCount == 0 {
142142
return nil
143143
}
144144

0 commit comments

Comments
 (0)