BSFMonitor creates a new BSFManager every poll which makes caching script engines ineffective

Description

In order for caching script engines (like CachingGroovyEngine) to actually cache things, the BSFManager object needs to be long living. Without caching, script monitors will melt your CPU at any significant scale.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed April 10, 2015 at 12:16 PM

Tests passed in Bamboo, I've merged this to develop.

David Schlenk April 6, 2015 at 5:07 PM

#249 also includes similar approach for BSFNotificationStrategy.

David Schlenk April 1, 2015 at 11:37 AM

I'm working on a fix. PR forthcoming.

Fixed

Details

Assignee

Reporter

Labels

Original estimate

Time tracking

1d 2h logged

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created April 1, 2015 at 11:37 AM
Updated May 11, 2015 at 2:49 PM
Resolved April 10, 2015 at 12:16 PM