Fix notification delivery

This commit is contained in:
2023-02-10 22:52:59 +00:00
parent df273a6009
commit 87c232d3f9
3 changed files with 57 additions and 35 deletions

View File

@@ -350,8 +350,8 @@ class ElasticsearchBackend(StorageBackend):
range_query = {
"range": {
"ts": {
"gte": f"now-{rule_object.window}/d",
"lte": "now/d",
"gte": f"now-{rule_object.window}",
"lte": "now",
}
}
}