Fix notification delivery
This commit is contained in:
@@ -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",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user