feat(new_max_duree_conservation): make it configurable for other instances
This commit is contained in:
parent
24c8dc5829
commit
05b6b462b6
2 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Procedure < ApplicationRecord
|
||||||
default_scope -> { kept }
|
default_scope -> { kept }
|
||||||
|
|
||||||
OLD_MAX_DUREE_CONSERVATION = 36
|
OLD_MAX_DUREE_CONSERVATION = 36
|
||||||
NEW_MAX_DUREE_CONSERVATION = 12
|
NEW_MAX_DUREE_CONSERVATION = ENV.fetch('NEW_MAX_DUREE_CONSERVATION') { 12 }.to_i
|
||||||
|
|
||||||
MIN_WEIGHT = 350000
|
MIN_WEIGHT = 350000
|
||||||
|
|
||||||
|
|
|
@ -137,3 +137,6 @@ DOLIST_BALANCING_VALUE="50"
|
||||||
# Enable vite legacy build (IE11). Legacy build is used in production (except if set to "disabled").
|
# Enable vite legacy build (IE11). Legacy build is used in production (except if set to "disabled").
|
||||||
# You might want to enable it in other environements for testing. Build time will be greatly impacted.
|
# You might want to enable it in other environements for testing. Build time will be greatly impacted.
|
||||||
VITE_LEGACY=""
|
VITE_LEGACY=""
|
||||||
|
|
||||||
|
# around july 2022, we changed the duree_conservation_dossiers_dans_ds, allow instances to choose their own duration
|
||||||
|
NEW_MAX_DUREE_CONSERVATION=12
|
||||||
|
|
Loading…
Reference in a new issue