Skip to content

Commit b5cc378

Browse files
committed
fix increment stats calls for HTTPClientAsync
1 parent d95b7c8 commit b5cc378

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/apify_client/_http_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ async def call(
229229
log_context.method.set(method)
230230
log_context.url.set(url)
231231

232+
self.stats.calls += 1
233+
232234
if stream and parse_response:
233235
raise ValueError('Cannot stream response and parse it at the same time!')
234236

0 commit comments

Comments
 (0)