diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-06-25 19:41:05 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-06-25 19:41:05 -0300 |
commit | da2f451f95b97ee2be77de52695be61553ebce52 (patch) | |
tree | 053379e441e5214aa4e03194f7f9a6d9551440ab /app | |
parent | 87b468c254e3e1e3b6b1d86e003f1f90a39935a2 (diff) | |
download | gitlab-ce-da2f451f95b97ee2be77de52695be61553ebce52.tar.gz |
Set 2 weeks as the expiration time for the current broadcast message
Diffstat (limited to 'app')
-rw-r--r-- | app/models/broadcast_message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/broadcast_message.rb b/app/models/broadcast_message.rb index 0fd8dca70b4..da4584228ce 100644 --- a/app/models/broadcast_message.rb +++ b/app/models/broadcast_message.rb @@ -45,7 +45,7 @@ class BroadcastMessage < ApplicationRecord end def self.cache_expires_in - nil + 2.weeks end def active? |