# HG changeset patch # User Marcin Kuzminski # Date 2018-02-05 12:21:37 # Node ID b55500061638920e7a77af5a2f765f6e90222820 # Parent 81644cd56ffff1ca32f54f52af897ec1db4ad3db meta: fix write condition. diff --git a/rhodecode/subscribers.py b/rhodecode/subscribers.py --- a/rhodecode/subscribers.py +++ b/rhodecode/subscribers.py @@ -184,7 +184,7 @@ def write_metadata_if_needed(event): except Exception: age_in_min = 0 - if age_in_min < 60 * 60 * 24: + if age_in_min > 60 * 60 * 24: return try: