We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ae562 commit e575172Copy full SHA for e575172
main.py
@@ -116,7 +116,9 @@ def load_config():
116
else config_data["notification"]
117
.get("push_window", {})
118
.get("once_per_day", True),
119
- "RECORD_RETENTION_DAYS": int(os.environ.get("PUSH_WINDOW_RETENTION_DAYS", "0"))
+ "RECORD_RETENTION_DAYS": int(
120
+ os.environ.get("PUSH_WINDOW_RETENTION_DAYS", "").strip() or "0"
121
+ )
122
or config_data["notification"]
123
124
.get("push_record_retention_days", 7),
0 commit comments