Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Nov 8, 2024
1 parent 0372fd9 commit c68fb5b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/ws-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,20 @@ To manually trigger a claim, post to `/claim`:
curl -X POST http://localhost:2222/claim
```

## Collections

To enable collections with a local lightning:

```
pnpm start -collections-url http://localhost:4000/collections
```

To use the monorepo adaptor version:

```
pnpm start --collections-version local --collections-url http://localhost:4000/collections
```

## Architecture

Lightning is expected to maintain a queue of runs. The Worker pulls those runs from the queue, via websocket, and sends them off to the Engine for execution.
Expand Down

0 comments on commit c68fb5b

Please sign in to comment.