Skip to content

Commit 913817a

Browse files
committed
Review fixes
Signed-off-by: Felix Yuan <[email protected]>
1 parent 88434b4 commit 913817a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_long_running_transactions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var (
5454
COUNT(*) as transactions,
5555
MAX(EXTRACT(EPOCH FROM clock_timestamp())) AS oldest_timestamp_seconds
5656
FROM pg_catalog.pg_stat_activity
57-
WHERE state is distinct from 'idle' AND (now() - xact_start) > '1 minutes'::interval AND query not like 'autovacuum:%'
57+
WHERE state is distinct from 'idle' AND query not like 'autovacuum:%'
5858
`
5959
)
6060

0 commit comments

Comments
 (0)