Project

General

Profile

Bug #22839

Planning during delayed jobs and hooks don't clean ActiveRecord connection

Added by Ivan Necas 5 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dynflow
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

This can potentially lead to

2018-03-09T03:30:49  [background] [E] could not obtain a connection from the pool within 5.000 seconds (waited 5.003 seconds); all pooled connections were in use (ActiveRecord::ConnectionTimeoutError)

It's not confirmed, that this actually is causing issues (due to its intermittent nature), but we should
be more defensive every time we execute code inside our runtime, that could cause blocking of connection
from ActiveRecord's connection pool

History

#1 Updated by Ivan Necas 5 months ago

  • Target version set to 252

#2 Updated by Ivan Necas 5 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Dynflow/dynflow/pull/279 added

#3 Updated by Adam Ruzicka 4 months ago

  • Status changed from Ready For Testing to Closed
  • Category set to Dynflow

Also available in: Atom PDF