Skip to content

Commit 7ec443c

Browse files
gaecoliguyu
andauthored
fix word spell (#5859)
Co-authored-by: guyu <[email protected]>
1 parent d6dbc64 commit 7ec443c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redash/metrics/request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
metrics_logger = logging.getLogger("metrics")
1010

1111

12-
def record_requets_start_time():
12+
def record_request_start_time():
1313
g.start_time = time.time()
1414

1515

@@ -53,6 +53,6 @@ def calculate_metrics_on_exception(error):
5353

5454

5555
def init_app(app):
56-
app.before_request(record_requets_start_time)
56+
app.before_request(record_request_start_time)
5757
app.after_request(calculate_metrics)
5858
app.teardown_request(calculate_metrics_on_exception)

0 commit comments

Comments
 (0)