Jira (PUP-10619) Remove `environment_timeout_mode` setting

11 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Oct 14, 2020, 12:17:04 PM10/14/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Task PUP-10619
Remove `environment_timeout_mode` setting
Change By: Josh Cooper
The {{environment_timeout}} setting is a less-than-ideal way of dealing with environment purging, because it doesn't take into account the actual usage patterns for any given environment, and forces the user to make a call on whether to accept longer load times (timeout of 0), inconsistent state between JRubies (a timeout between 0 and unlimited), and high memory usage (unlimited timeout).

The {{environment_timeout_mode}} setting was added in PUP-8014, and this ticket is to
change the remove the setting and change the default (and only) behavior so that puppet evicts environments that haven't been used for a certain amount of time.
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Oct 14, 2020, 12:17:04 PM10/14/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Summary: Remove ` environment_timeout environment_timeout_mode ` setting in favor of `environment_ttl`

Josh Cooper (Jira)

unread,
Oct 16, 2020, 12:59:03 PM10/16/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 16, 2020, 12:59:03 PM10/16/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes Summary: Puppet no longer supports environment timeouts based on when the environment was created, as a result the {{environment_timeout_mode}} setting has been removed. In Puppet 7, the {{environment_timeout}} setting is always interpreted as "0" (never cache), "unlimited" (always cache), or a a value relative to {{environment_timeout}} seconds from when the environment was last used.

Josh Cooper (Jira)

unread,
Oct 16, 2020, 1:00:03 PM10/16/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes Summary: Puppet no longer supports environment timeouts based on when the environment was created, as a result the {{ " environment_timeout_mode }} " setting has been removed. In Puppet 7, the {{ " environment_timeout }} " setting is always interpreted as "0" (never cache), "unlimited" (always cache), or {{environment_timeout}} some number of seconds from when the environment was last used.

Claire Cadman (Jira)

unread,
Nov 9, 2020, 11:46:03 AM11/9/20
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed platform_7
Reply all
Reply to author
Forward
0 new messages