Skip to content

Commit 8e1f283

Browse files
drobnikjTC-MO
andauthored
fix: PR fixes
Co-authored-by: Michał Olender <[email protected]>
1 parent 983ad20 commit 8e1f283

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sources/platform/storage/request_queue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,15 +407,15 @@ You can lock a request so that no other clients receive it when they fetch the q
407407
This feature is seamlessly integrated into Crawlee, requiring minimal extra setup. By default, requests are locked for the same duration as the timeout for processing requests in the crawler ([`requestHandlerTimeoutSecs`](https://crawlee.dev/api/next/basic-crawler/interface/BasicCrawlerOptions#requestHandlerTimeoutSecs)).
408408
If the Actor processing the request fails, the lock expires, and the request is processed again eventually. For more details, refer to the [Crawlee documentation](https://crawlee.dev/docs/next/experiments/experiments-request-locking).
409409

410-
In the following example, we demonstrate how we can use locking mechanisms to avoid concurrent processing of the same request across multiple Actor runs.
410+
In the following example, we demonstrate how you can use locking mechanisms to avoid concurrent processing of the same request across multiple Actor runs.
411411

412412
:::info
413413
The lock mechanism works on the client level, as well as the run level, when running the Actor on the Apify platform.
414414

415415
This means you can unlock or prolong the lock the locked request only if:
416416

417-
1. You are using the same client key, or
418-
2. The operation is being called from the same Actor run.
417+
- You are using the same client key, or
418+
- The operation is being called from the same Actor run.
419419

420420
:::
421421

0 commit comments

Comments
 (0)