Project

General

Profile

Actions

Bug #22839

closed

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

Added by Ivan Necas about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dynflow
Target version:
-
Difficulty:
Triaged:
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

Actions #1

Updated by Ivan Necas about 6 years ago

  • Target version set to 252
Actions #2

Updated by Ivan Necas about 6 years ago

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

Updated by Adam Ruzicka almost 6 years ago

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

Also available in: Atom PDF