diff --git a/web/sites/default/services.pantheon.preproduction.yml b/web/sites/default/services.pantheon.preproduction.yml new file mode 100644 index 0000000000000000000000000000000000000000..343ddf6586c6885e3905f9a06208c5c751789ce5 --- /dev/null +++ b/web/sites/default/services.pantheon.preproduction.yml @@ -0,0 +1,28 @@ +# +# Rename this file to 'services.pantheon.preproduction.yml' and +# modify to suit. It will then be loaded by settings.pantheon.php +# on any dev or multidev environment (not on 'test' or 'live'). +# +# If you would like to define any services or service parameters +# that apply only to production environments ('test' and 'live'), +# you may do so in a 'services.pantheon.production.yml' file. +# +# See 'default.services.yml' for information on useful settings to +# put here. +# +parameters: + twig.config: + debug: true + session.storage.options: + # Set session lifetime (in seconds), i.e. the time from the user's last + # visit to the active session may be deleted by the session garbage + # collector. When a session is deleted, authenticated users are logged out, + # and the contents of the user's $_SESSION variable is discarded. + # @default 200000 + gc_maxlifetime: 86400 + # + # Set session cookie lifetime (in seconds), i.e. the time from the session + # is created to the cookie expires, i.e. when the browser is expected to + # discard the cookie. The value 0 means "until the browser is closed". + # @default 2000000 + cookie_lifetime: 86400 diff --git a/web/sites/default/services.pantheon.production.yml b/web/sites/default/services.pantheon.production.yml new file mode 100644 index 0000000000000000000000000000000000000000..cc50366aa6d00e902717c8fd6c273b7f2db20a86 --- /dev/null +++ b/web/sites/default/services.pantheon.production.yml @@ -0,0 +1,28 @@ +# +# Rename this file to 'services.pantheon.preproduction.yml' and +# modify to suit. It will then be loaded by settings.pantheon.php +# on any dev or multidev environment (not on 'test' or 'live'). +# +# If you would like to define any services or service parameters +# that apply only to production environments ('test' and 'live'), +# you may do so in a 'services.pantheon.production.yml' file. +# +# See 'default.services.yml' for information on useful settings to +# put here. +# +parameters: + twig.config: + debug: true + session.storage.options: + # Set session lifetime (in seconds), i.e. the time from the user's last + # visit to the active session may be deleted by the session garbage + # collector. When a session is deleted, authenticated users are logged out, + # and the contents of the user's $_SESSION variable is discarded. + # @default 200000 + gc_maxlifetime: 200000 + # + # Set session cookie lifetime (in seconds), i.e. the time from the session + # is created to the cookie expires, i.e. when the browser is expected to + # discard the cookie. The value 0 means "until the browser is closed". + # @default 2000000 + cookie_lifetime: 2000000